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

TreeList.FocusedColumnChanged Event

Fires immediately after focus has been moved from a column.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.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
Column Gets a Tree List column. Inherited from ColumnChangedEventArgs.
OldColumn Gets the previously focused column.

Remarks

Write a FocusedColumnChanged event handler to perform specific actions each time focus has been moved from a column. There are two general cases in which this event fires:

  • Focus is moved to another column. This takes place when end-users focus cells in other columns or change column order. Event is also raised when the same is performed via code.
  • None of the columns is focused. This can take place when the focused column is deleted, nodes are added, etc.

This event handler receives a FocusedColumnChangedEventArgs parameter type. It allows you to determine previously and currently focused columns.

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