Class FormFieldCollection
Represents a collection of document fields.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.InteractiveForms
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class FormFieldCollection : IEnumerable<FormField>, IEnumerable
Properties
Count
Gets the count of the fields in the collection.
Declaration
public int Count { get; }
Property Value
System.
|
Item[String]
Gets FormField instance by field name.
Declaration
public FormField this[string fieldName] { get; }
Parameters
System. The field name. |
Property Value
Methods
Add(FormField)
Adds field to the collection.
Declaration
public void Add(FormField field)
Parameters
Form The field to be added. |
AddCheckBox(String)
Creates new Check
Declaration
public CheckBoxField AddCheckBox(string fieldName)
Parameters
System. The field name. |
Returns
Check The result field. |
AddComboBox(String)
Creates new Combo
Declaration
public ComboBoxField AddComboBox(string fieldName)
Parameters
System. The field name. |
Returns
Combo The result field. |
AddCombTextBox(String)
Creates new Comb
Declaration
public CombTextBoxField AddCombTextBox(string fieldName)
Parameters
System. The field name. |
Returns
Comb The result field. |
AddListBox(String)
Creates new List
Declaration
public ListBoxField AddListBox(string fieldName)
Parameters
System. The field name. |
Returns
List The result field. |
AddPushButton(String)
Creates new Push
Declaration
public PushButtonField AddPushButton(string fieldName)
Parameters
System. The field name. |
Returns
Push The result field. |
AddRadioButton(String)
Creates new Radio
Declaration
public RadioButtonField AddRadioButton(string fieldName)
Parameters
System. The field name. |
Returns
Radio The result field. |
AddSignature(String)
Creates new Signature
Declaration
public SignatureField AddSignature(string fieldName)
Parameters
System. The field name. |
Returns
Signature The result field. |
AddTextBox(String)
Creates new Text
Declaration
public TextBoxField AddTextBox(string fieldName)
Parameters
System. The field name. |
Returns
Text The result field. |
Contains(String)
Determines whether this instance contains the object.
Declaration
public bool Contains(string fieldName)
Parameters
System. Name of the field. |
Returns
System.
|
GetEnumerator()
Gets the enumerator for the elements in the collection.
Declaration
public IEnumerator<FormField> GetEnumerator()
Returns
System. The enumerator. |
Implements
Remove(FormField)
Removes field from the collection.
Declaration
public void Remove(FormField field)
Parameters
Form The field to be removed. |
Rename(String, String)
Renames field with a specified name.
Declaration
public void Rename(string oldName, string newName)
Parameters
System. The old name of the field. |
System. The new name. |
Exceptions
System. Name cannot be empty. or Could not find a field with the specified name. - oldName or The specified name is already used by another field. - newName or Name cannot contain .(period). - newName |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Gets the enumerator for the elements in the collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.
|