BaseComboBoxSelectionLength Property

Gets or sets the number of characters selected in the editable portion of the combo box

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public int SelectionLength { get; set; }

Property Value

Int32
You can use this property to determine whether any characters are currently selected in the combo box control before performing operations on the selected text. When the value of the property is set to a value that is larger than the number of characters within the text of the control, the value of the property is set to the entire length of text within the control minus the value of the SelectionStart property (if any value is specified for it).

See Also