Back to Devexpress

ColumnView.FocusedColumnChanged Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnview-bc7b0fc8.md

latest2.2 KB
Original Source

ColumnView.FocusedColumnChanged Event

Fires in response to changing column focus.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Property Changed")]
public event FocusedColumnChangedEventHandler FocusedColumnChanged
vb
<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:

PropertyDescription
FocusedColumnGets the currently focused column.
PrevFocusedColumnGets 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

FocusedColumn

ColumnView Class

ColumnView Members

DevExpress.XtraGrid.Views.Base Namespace