ASPxVerticalGrid.Selection Property

Gets the ASPxVerticalGrid’s selection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll


public VerticalGridSelection Selection { get; }

Property Value

Type Description

A VerticalGridSelection object that is the ASPxVerticalGrid’s selection.


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.

See Also