Base List ControlEnforce Default Selection Property
This property is used to set or get the default selection behavior
Definition
Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
If true (the default), a SelectedIndex of -1 (no selection) is not allowed. Instead, the index specified by the DefaultSelection property is used instead.
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public virtual bool EnforceDefaultSelection { get; set; }VB
Public Overridable Property EnforceDefaultSelection As Boolean
Get
SetC++
public:
virtual property bool EnforceDefaultSelection {
bool get ();
void set (bool value);
}F#
abstract EnforceDefaultSelection : bool with get, set
override EnforceDefaultSelection : bool with get, setProperty Value
BooleanIf true (the default), a SelectedIndex of -1 (no selection) is not allowed. Instead, the index specified by the DefaultSelection property is used instead.