ASPxVerticalGrid.Selection Property
Gets the ASPxVerticalGrid’s selection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public VerticalGridSelection Selection { get; }
#Property Value
Type | Description |
---|---|
Vertical |
A Vertical |
#Remarks
The ASPxVerticalGrid allows multiple records to be selected. The object returned by the Selection property provides methods that allow you to select and deselect individual records, or all records, obtain the number of selected records, etc. End-users can select/deselect records using the Select command item, which is a check box or a link:
The style settings used to paint selected records can be accessed using the VerticalGridStyles.SelectedRecord property.
To respond to changing a selection, handle the ASPxGridBase.SelectionChanged event.