[]
Represents the ComboBox field.
public class ComboBoxField : ChoiceField, IPdfDict, IOwnedObject, ActionHide.ILinkedObject, ActionFieldsBase.IFieldDef
Public Class ComboBoxField
Inherits ChoiceField
Implements IPdfDict, IOwnedObject, ActionHide.ILinkedObject, ActionFieldsBase.IFieldDef
Name | Description |
---|---|
ComboBoxField() | Initializes a new instance of the ComboBoxField class. |
Name | Description |
---|---|
DefaultText | Gets or sets the default value of this ComboBoxField as a string. This property is used to specify the default value of the ComboBoxField if its Editable property is true. |
DefaultValue | Gets or sets the default value of ComboBoxField, value is specified as index of selected item. |
Editable | Gets or sets a value indicating whether the combo box includes an editable text box as well as a drop-down list. |
Text | Gets or sets the value of this ComboBoxField as a string. This property is used to specify the value of the ComboBoxField if its Editable property is true. |
Value | Gets or sets the value of ComboBoxField, value is specified as index of selected item. |
Name | Description |
---|---|
SetDateFormat(string) | Imposes the specified date format string on the current ComboBoxField. The syntax of the format string is similar to .NET format strings. Some examples are "m/d/yyyy" or "d-mmm-yy". Note that this method initializes the values of Field.Events.FormatValue and Field.Events.KeyPress only, it does not change the field's value or widget appearance streams. |
SetDateValue(DateTime, string) | Imposes the specified date format string on the current ComboBoxField, and assigns to it the specified value as a date. The syntax of the format string is similar to .NET format strings. Some examples are "m/d/yyyy" or "d-mmm-yy". |
SetNumberFormat(int, NumberSeparatorStyle, NumberNegativeStyle, string, CurrencySymbolStyle) | Imposes the specified numeric formatting options on the current ComboBoxField. Note that this method initializes the values of Field.Events.FormatValue and Field.Events.KeyPress only, it does not change the field's value or widget appearance streams. |
SetNumberValue(double, int, NumberSeparatorStyle, NumberNegativeStyle, string, CurrencySymbolStyle) | Imposes the specified numeric formatting options on the current ComboBoxField, and assigns to it the specified value as a number. |
SetPercentFormat(int, NumberSeparatorStyle) | Imposes the specified percentage formatting options on the current ComboBoxField. Note that this method initializes the values of Field.Events.FormatValue and Field.Events.KeyPress only, it does not change the field's value or widget appearance streams. |
SetPercentValue(double, int, NumberSeparatorStyle) | Imposes the specified percentage formatting options on the current ComboBoxField, and assigns to it the specified value as percentage. |
SetSpecialFormat(SpecialFormat) | Imposes the specified special format on the current ComboBoxField. Note that this method initializes the values of Field.Events.FormatValue and Field.Events.KeyPress only, it does not change the field's value or widget appearance streams. |
SetSpecialFormatValue(string, SpecialFormat) | Sets the value of the current ComboBoxField as a value
formatted according to
This method assumes that |
SetTimeFormat(string) | Imposes the specified time format string on the current ComboBoxField. The syntax of the format string is similar to .NET format strings. Some examples are "HH:MM" or "H:MM tt". Note that this method initializes the values of Field.Events.FormatValue and Field.Events.KeyPress only, it does not change the field's value or widget appearance streams. |
SetTimeValue(DateTime, string) | Imposes the specified time format string on the current ComboBoxField, and assigns to it the specified value as time. The syntax of the format string is similar to .NET format strings. Some examples are "HH:MM" or "H:MM tt". |