ListBox.AllowSelection Property

Definition

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

protected:
 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