Provides advanced settings related to the MultipleSelection feature.
Definition
public class MultipleSelectionSettings : WebUIBaseClass
Summary
The following table summarizes the members exposed in this class.
Public Constructors
MultipleSelectionSettings Constructor() | Initializes a new instance of the MultipleSelectionSettings class. |
Protected Constructors
Public Properties
AllowBrowseAll | Gets or sets whether WebCombo should allow the user to browse all list by pressing Ctrl Space key. |
AllowNotInListText | Gets or sets whether WebCombo should accept text which is not appear in the list. |
AutoPositionResultBox | Gets or sets whether the ResultBox position should be automatically positioned beneath the cursor position. |
AutoSelectFirstMatch | Gets or sets whether WebCombo should automatically select first row of matched items against input Text. |
Enabled | Gets or sets whether multiple selections feature should be enabled. |
HideResultBoxOnEmptyResult | |
ItemContextMenu | Gets or sets the Intersoft WebContextMenu object to be displayed when right clicking an item. |
SeparatorChar | Gets or sets the separator character used to separate multiple values in the textbox. |
Public Methods
Public Constructors
public MultipleSelectionSettings()
Protected Constructors
protected MultipleSelectionSettings(SerializationInfo info, StreamingContext context)
Parameters
info | |
context |
Public Properties
public bool AllowBrowseAll { get; set; }
Gets or sets whether WebCombo should allow the user to browse all list by pressing Ctrl Space key.
Remarks
When this property is set to True, you can list all items by pressing Ctrl+Space. Note that when the MultipleSelection property is Enabled and the TextBoxMode property is Editable, the DropDownButton will be disabled and invisible. |
public bool AllowNotInListText { get; set; }
Gets or sets whether WebCombo should accept text which is not appear in the list.
Remarks
This setting allows the user to input text which is not listed in the ResultBox. You should handle the OnValueItemNotInList client-side event to determine how the item should be treated. |
public bool AutoPositionResultBox { get; set; }
Gets or sets whether the ResultBox position should be automatically positioned beneath the cursor position.
Remarks
When this property is set to True, the ResultBox location will be automatically positioned beneath the cursor position. This property is only applicable for Editable mode, that is TextBoxMode is set to Editable. |
public bool AutoSelectFirstMatch { get; set; }
Gets or sets whether WebCombo should automatically select first row of matched items against input Text.
Remarks
When this property is set to True, the first row will always be highlighted. This allows a user to quickly select an item by pressing the Tab key without first having to press the Down arrow key to select. |
public bool Enabled { get; set; }
Gets or sets whether multiple selections feature should be enabled.
public bool HideResultBoxOnEmptyResult { get; set; }
public object ItemContextMenu { get; set; }
Gets or sets the Intersoft WebContextMenu object to be displayed when right clicking an item.
public string SeparatorChar { get; set; }
Gets or sets the separator character used to separate multiple values in the textbox.
Public Methods
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info | |
context |