Back to Devexpress

TreeList.FocusedColumn Property

windowsforms-devexpress-dot-xtratreelist-dot-treelist-dd5c4340.md

latest2.5 KB
Original Source

TreeList.FocusedColumn Property

Gets or sets the focused column.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public TreeListColumn FocusedColumn { get; set; }
vb
<Browsable(False)>
Public Property FocusedColumn As TreeListColumn

Property Value

TypeDescription
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

Columns

VisibleIndex

FocusedNode

FocusedColumnChanged

ClearFocusedColumn()

MakeColumnVisible(TreeListColumn)

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace