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

TreeList.FocusedColumn Property

Gets or sets the focused column.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

[Browsable(false)]
public TreeListColumn FocusedColumn { get; set; }

#Property Value

Type Description
TreeListColumn

The focused column.

#Remarks

Use the FocusedColumn property to obtain the focused column within the TreeList control. Assign a TreeListColumn object to this property to focus the corresponding column.

Note

Focusing hidden columns is not allowed. A column is hidden if its TreeListColumn.VisibleIndex property is set to -1.

When a column is assigned to the FocusedColumn property, the TreeList control automatically scrolls to this column. To scroll the TreeList control to the required column without focusing it, use the TreeList.MakeColumnVisible method.

See Also