BaseListControlDefaultSelection Property

This property is used to set or get the default selection's index

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public virtual int DefaultSelection { get; set; }

Property Value

Int32
If EnforceDefaultSelection is true, a SelectedIndex of -1 (no selection) is not allowed. Instead, the index specified by this property is used.

Exceptions

ArgumentOutOfRangeExceptionThis is thrown if the index is less than zero

See Also