[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.AcroForms.ChoiceField

Class ChoiceField

Namespace
GrapeCity.Documents.Pdf.AcroForms
Assembly
GcDocs.Pdf.dll

Base class for choice fields: ComboBox and ListBox.

public abstract class ChoiceField : Field, IPdfDict, IOwnedObject, ActionHide.ILinkedObject, ActionFieldsBase.IFieldDef
Inheritance
object
ChoiceField
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Extension Methods

Constructors

ChoiceField()

Initializes a new instance of the ChoiceField class.

public ChoiceField()

Properties

CommitOnSelChange

Gets or sets a value indicating whether the new value is committed as soon as a selection is made with the pointing device. This option enables applications to perform an action once a selection is made, without requiring the user to exit the field. If false, the new value is not committed until the user exits the field.

public bool CommitOnSelChange { get; set; }

Property Value

bool

DefaultSelectedIndex

Gets or sets the index of item selected by default.

public int DefaultSelectedIndex { get; set; }

Property Value

int

Items

Gets the list of items displayed in field.

public ObservableCollectionEx<ChoiceFieldItem> Items { get; }

Property Value

ObservableCollectionEx<ChoiceFieldItem>

SelectedIndex

Gets or sets the index of selected item.

public int SelectedIndex { get; set; }

Property Value

int

Sort

Gets or sets a value indicating whether the field’s option items should be sorted alphabetically. This flag is intended for use by form authoring tools, not by PDF viewer applications. Viewers should simply display the options in the order in which they occur in the Opt array

public bool Sort { get; set; }

Property Value

bool

SpellCheck

Gets or sets a value indicating whether the text entered in the field is spell-checked.

public bool SpellCheck { get; set; }

Property Value

bool

Widget

Gets the WidgetAnnotation defining view properties of the text field.

public WidgetAnnotation Widget { get; }

Property Value

WidgetAnnotation