BaseListControlEnforceDefaultSelection Property
This property is used to set or get the default selection behavior
Namespace: EWSoftware.ListControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public virtual bool EnforceDefaultSelection { get; set; }
Public Overridable Property EnforceDefaultSelection As Boolean
Get
Set
public:
virtual property bool EnforceDefaultSelection {
bool get ();
void set (bool value);
}
abstract EnforceDefaultSelection : bool with get, set
override EnforceDefaultSelection : bool with get, set
Property 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.