ListBox.AllowSelection Property


Gets a value indicating whether the ListBox currently enables selection of list items.

 virtual property bool AllowSelection { bool get(); };
protected override bool AllowSelection { get; }
member this.AllowSelection : bool
Protected Overrides ReadOnly Property AllowSelection As Boolean

Property Value

true if SelectionMode is not None; otherwise, false.

Applies to