SelectionChangedEventArgs.ControllerRow Property
Identifies the row whose selected state has been changed.
Namespace: DevExpress.Data
Assembly: DevExpress.Data.v24.1.dll
NuGet Package: DevExpress.Data
Declaration
Property Value
Type | Description |
---|---|
Int32 | A zero-based integer identifying the row whose selected state has been changed. |
Remarks
For the XtraGrid control, the SelectionChangedEventArgs class provides data for the ColumnView.SelectionChanged event. The event’s ControllerRow parameter identifies the handle of the row whose selection state has been changed. In specific instances, the entire collection of selected rows needs to be refreshed (for instance, when the grid’s data is re-sorted, re-grouped or filtered). In this instance, the ColumnView.SelectionChanged event fires, and its SelectionChangedEventArgs.Action parameter is set to CollectionChangeAction.Refresh and the ControllerRow parameter contains the GridControl.InvalidRowHandle property’s value.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ControllerRow property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.