• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FormDropDownData

Represents the data for a drop-down list form field (FORMDROPDOWN).

Inheritance
object
FormFieldData
FormDropDownData
Inherited Members
FormFieldData.Name
FormFieldData.StatusText
FormFieldData.HelpText
FormFieldData.Enabled
FormFieldData.CalculateOnExit
FormFieldData.EntryMacro
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
FormFieldData.FieldType

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
Overrides
FormFieldData.Value
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX