Class FormDropDownData
Represents the data for a drop-down list form field (FORMDROPDOWN).
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class FormDropDownData : FormFieldData
Properties
DefaultItemIndex
The index of the default selected item (0-based).
Maps to the w:ffData/w:ddList/w:default element.
Declaration
public int DefaultItemIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
FieldType
Gets the type of this form field.
Declaration
public override FormFieldType FieldType { get; }
Property Value
| Type | Description |
|---|---|
| FormFieldType |
Overrides
Items
The list of items in the drop-down.
Maps to the w:ffData/w:ddList/w:listEntry elements.
Declaration
public List<string> Items { get; }
Property Value
| Type | Description |
|---|---|
| List<string> |
SelectedItemIndex
The index of the currently selected item (0-based).
Maps to the w:ffData/w:ddList/w:result element.
Declaration
public int SelectedItemIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Value
Gets or sets the field value as an object. Derived classes override this to provide type-specific values.
Declaration
public override object Value { get; set; }
Property Value
| Type | Description |
|---|---|
| object |