GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    FormDropDownData Class

    Namespace:
    GemBox.Document
    Assembly:
    GemBox.Document.dll

    Represents a form related data associated with the parent FormDropDown field within the document.

    • C#
    • VB.NET
    public sealed class FormDropDownData : FormFieldData
    Public NotInheritable Class FormDropDownData
        Inherits FormFieldData
    Inheritance:
    System.Object
    FormFieldData
    FormDropDownData

    Properties

    DefaultItemIndex

    Gets or sets the zero-based index of the default entry for the parent drop-down list form field.

    • C#
    • VB.NET
    public int DefaultItemIndex { get; set; }
    Public Property DefaultItemIndex As Integer
    Property Value
    System.Int32

    The zero-based index of the default entry for the parent drop-down list form field.

    Items

    Gets the list entry items within the parent drop-down list form field.

    • C#
    • VB.NET
    public IList<string> Items { get; }
    Public ReadOnly Property Items As IList(Of String)
    Property Value
    System.Collections.Generic.IList<System.String>

    The list entry items within the parent drop-down list form field.

    SelectedItemIndex

    Gets or sets the zero-based index of the currently selected entry for the parent drop-down list form field or null if selected entry is not explicitly set.

    • C#
    • VB.NET
    public int? SelectedItemIndex { get; set; }
    Public Property SelectedItemIndex As Integer?
    Property Value
    System.Nullable<System.Int32>

    The zero-based index of the currently selected entry for the parent drop-down list form field or null if selected entry is not explicitly set.

    Value

    Gets the currently selected entry for the parent drop-down list form field if selected entry is explicitly set; otherwise, null.

    • C#
    • VB.NET
    public string Value { get; }
    Public ReadOnly Property Value As String
    Property Value
    System.String

    The currently selected entry for the parent drop-down list form field if selected entry is explicitly set; otherwise, null.

    ValueOrDefault

    Gets the currently selected entry for the parent drop-down list form field if selected entry is explicitly set; otherwise, default entry.

    • C#
    • VB.NET
    public string ValueOrDefault { get; }
    Public ReadOnly Property ValueOrDefault As String
    Property Value
    System.String

    The currently selected entry for the parent drop-down list form field if selected entry is explicitly set; otherwise, default entry.

    Inherited Properties

    CalculateOnExit

    Gets or sets a value indicating whether the content of all fields within the document shall be recalculated from their field codes when the content of the parent form field is modified.

    (Inherited from FormFieldData)

    Enabled

    Gets or sets a value indicating whether the parent form field shall behave as though it is enabled or disabled when it is displayed in the document. Default value is true.

    (Inherited from FormFieldData)

    EntryMacro

    Gets or sets the subroutine in a scripting language which should be executed when the value of the parent form field is entered.

    (Inherited from FormFieldData)

    ExitMacro

    Gets or sets the subroutine in a scripting language which should be executed when the value of the parent form field is exited.

    (Inherited from FormFieldData)

    Field

    Gets the parent form field.

    (Inherited from FormFieldData)

    HelpText

    Gets or sets the optional help text which shall be associated with the parent form field.

    (Inherited from FormFieldData)

    IsHelpTextAutoEntry

    Gets or sets a value indicating whether HelpText should be interpreted as the name of a glossary document entry whose contents contain the help text.

    (Inherited from FormFieldData)

    IsStatusTextAutoEntry

    Gets or sets a value indicating whether StatusText should be interpreted as the name of a glossary document entry whose contents contain the status text.

    (Inherited from FormFieldData)

    Name

    Gets or sets the name of the form field.

    (Inherited from FormFieldData)

    StatusText

    Gets or sets the optional status text which shall be associated with the parent form field.

    (Inherited from FormFieldData)

    Inherited Methods

    Reset()

    Resets the Value of this form field instance.

    (Inherited from FormFieldData)

    ToString()

    Returns a System.String that represents this FormFieldData instance.

    (Inherited from FormFieldData)

    Examples

    Update Word Form Controls in C# and VB.NET
    Read Word Form Controls in C# and VB.NET
    Create Word Form Controls in C# and VB.NET
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.