TreeList.FocusedColumnChanged Event

Fires immediately after focus has been moved from a column.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DXCategory("Property Changed")]
public event FocusedColumnChangedEventHandler FocusedColumnChanged
<DXCategory("Property Changed")>
Public Event FocusedColumnChanged As FocusedColumnChangedEventHandler

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.

See Also