Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ColumnView.FocusedColumnChanged Event

Fires in response to changing column focus.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.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