.NET Windows Forms in a Nutshell

SelectionMode serializable

System. Windows .Forms (system. windows .forms.dll) enum

This enumeration is used by the ListBox and CheckedListBox controls to determine what kind of selection is supported. None implies that selection is disabled (although the control itself is still enabled), One offers single selection, while MultiSimple and MultiExtended reflect the two Windows multiple-selection modes.

public enum SelectionMode { None = 0 , One = 1 , MultiSimple = 2 , MultiExtended = 3 }

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable , System.IConvertible) SelectionMode

Returned By

ListBox.SelectionMode

Passed To

ListBox.SelectionMode

Категории