Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

FirstDisplayedIndex Property, ColumnsClass Class

Returns the index of the first displayed column.

Class: ColumnsClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public int FirstDisplayedIndex { get; }
Public ReadOnly Property FirstDisplayedIndex As Integer

Value

The index of the first displayed column or -1 if the column collection is empty.

Comments

Returns the index of the first displayed column.

The column index is a number in the range 0 through ColumnsClass.Count-1.

The FirstDisplayedIndex property returns the index of the first displayed column. This is not necessarily the first column in the column collection. The ColumnsClass.FirstIndex property returns the index of the first column in the column collection.

A column is considered displayed or visible even if it is horizontally scrolled off the control's display area. A column can be scrolled into the display area of the control by using the ColumnClass.ScrollIntoView method.

See Also ColumnsClass Class | Classes | SftTree/NET 2.0