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

TreeList.FocusedColumn Property

Gets or sets the focused column.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v18.2.dll

Declaration

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

Property Value

Type Description
TreeListColumn

The focused column.

Remarks

Read the FocusedColumn property to obtain the object representing the focused column. Assign a TreeListColumn object to this property to focus the corresponding column.

Note

Assigning to the FocusedColumn property is not in effect if the assigned column is either invisible (its TreeListColumn.VisibleIndex property’s value is -1).

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

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

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