ImageGear v26.5 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / ListBox Class / CommitOnSelectionChange Property




In This Topic
    CommitOnSelectionChange Property (ListBox)
    In This Topic
    Gets or sets a value indicating whether the new value is submitted as soon as the selection is changed, rather than waiting until the user exits the field.
    Syntax
    'Declaration
     
    Public Property CommitOnSelectionChange As Boolean
    'Usage
     
    Dim instance As ListBox
    Dim value As Boolean
     
    instance.CommitOnSelectionChange = value
     
    value = instance.CommitOnSelectionChange
    public bool CommitOnSelectionChange {get; set;}
    public: __property bool get_CommitOnSelectionChange();
    public: __property void set_CommitOnSelectionChange( 
       bool value
    );
    public:
    property bool CommitOnSelectionChange {
       bool get();
       void set (    bool value);
    }

    Property Value

    Whether the new value is submitted as soon as the selection is changed, rather than waiting until the user exits the field.
    See Also