Class FormFieldData
Base class for form field data. Contains properties common to all form field types (text, check-box, drop-down).
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public abstract class FormFieldData
Properties
CalculateOnExit
Whether the field is calculated on exit.
Maps to the w:ffData/@w:calcOnExit attribute.
Declaration
public bool? CalculateOnExit { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Enabled
Whether the form field is enabled.
Maps to the w:ffData/@w:enabled attribute.
Declaration
public bool? Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
EntryMacro
The entry macro name.
Maps to the w:ffData/@w:entryMacro attribute.
Declaration
public string EntryMacro { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FieldType
Gets the type of this form field.
Declaration
public abstract FormFieldType FieldType { get; }
Property Value
| Type | Description |
|---|---|
| FormFieldType |
HelpText
The help text shown when the form field has focus and F1 is pressed.
Maps to the w:ffData/w:helpText element.
Declaration
public string HelpText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
The name of the form field.
Maps to the w:ffData/@w:name attribute.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StatusText
The status text shown in the status bar when the form field has focus.
Maps to the w:ffData/w:statusText element.
Declaration
public string StatusText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets or sets the field value as an object. Derived classes override this to provide type-specific values.
Declaration
public abstract object Value { get; set; }
Property Value
| Type | Description |
|---|---|
| object |