ColumnView.FocusedColumnChanged Event
Fires in response to changing column focus.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
[DXCategory("Property Changed")]
public event FocusedColumnChangedEventHandler FocusedColumnChanged
Event Data
The FocusedColumnChanged event's data class is FocusedColumnChangedEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
FocusedColumn | Gets the currently focused column. |
PrevFocusedColumn | Gets the previously focused column. |
Remarks
The event is raised when end-users move focus from column to column or when changing the ColumnView.FocusedColumn property value via code. The following cases can take place:
- focus moves from one column to another;
- no column is focused (this can be the result of deleting the focused column);
- a column is focused after no column was focused.
See Also