Skip to main content
Version: 4.2

SelectionMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

Specifies the selection behavior of a TreeView, a ListBox or a ListView.

public enum SelectionMode

Select one of the named values, such as None, One, MultiSimple. The member descriptions define the behavior of each value.

Fields​

NameDescriptionValue
MultiExtendedMultiple items can be selected, and the user can use the SHIFT, CTRL, and arrow keys to make selections.
MultiSimpleMultiple items can be selected.
NoneNo items can be selected.
OneOnly one item can be selected.

Used By​

NameDescription
ListBox.SelectionModeGets or sets the method in which items are selected in the ListBox.
ListView.SelectionModeGets or sets the current selection mode determining how items are selected in the ListView.
TreeView.SelectionModeGets or sets the method in which items are selected in the TreeView.
ListBoxExtensions.SelectionModeSets the SelectionMode property of the specified ListBox.