Skip to main content
Tab

ASPxVerticalGrid.Selection Property

Gets the ASPxVerticalGrid’s selection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public VerticalGridSelection Selection { get; }

Property Value

Type Description
VerticalGridSelection

A VerticalGridSelection object that is the ASPxVerticalGrid’s selection.

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:

ASPxVerticalGrid-SelectedRecords

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