Skip to main content
A newer version of this page is available. .

ColumnView.FocusedColumnChanged Event

Fires in response to changing column focus.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FocusedColumnChanged event.

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.

See Also