ClassFormField
Base abstraction for fields that collect user input in a PDF, exposing common properties, actions, and access to visual widgets.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.InteractiveForms
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public abstract class FormField : IStructuralElement
Inheritance: objectFormField
Derived Classes:
Implements:
Properties
Actions
Collection of actions triggered by field events such as value changes or mouse interactions.
Declaration
public FormFieldActionCollection Actions { get; }
Property Value
FieldType
Gets the field category used by viewers to render and process the field (text, button, choice, etc.).
Declaration
public abstract FormFieldType FieldType { get; }
Property Value
IsReadOnly
Gets or sets a value indicating whether this field should not accept user input or changes.
IsRequired
Gets or sets a value indicating whether this field must contain a value when the form is submitted.
MappingName
Gets or sets the mapping name to be used when exporting interactive form field data from the document.
Name
Gets or sets the field's unique name used to identify it within the document and exported form data.
Declaration
public string Name { get; set; }
Property Value
The field name used to identify this form field uniquely within the document.
Exceptions
Name cannot be empty.
ShouldBeSkipped
Gets or sets a value indicating whether this field should be excluded from form submission.
StructureTag
Gets the StructureTag associated with this element.
Declaration
public StructureElement StructureTag { get; set; }
Property Value
Implements
TextProperties
Gets or sets the text formatting properties used by PDF viewers to render the field's appearance dynamically.
Declaration
public VariableTextProperties TextProperties { get; set; }
Property Value
UserInterfaceName
Gets or sets an alternate field name to be used in place of the actual field name wherever the field must be identified in the user interface. For instance this may be used for error or status messages referring to the field. This text is also useful when extracting the document’s contents in support of accessibility to users with disabilities or for other purposes.
Methods
Equals(object)
Returns a value indicating whether this instance is equal to a specified object.
GetHashCode()
Returns a hash code for the current form field based on its key properties.
Declaration
public override int GetHashCode()
Returns
A hash code value for the current form field instance.
Overrides