Skip to main content

TreeList.FocusedColumn Property

Gets or sets the focused column.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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