Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

LastIndex Property, ColumnsClass Class

Returns the index of the last column in the column collection.

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

Syntax

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

Value

The index of the last real column or -1 if the column collection is empty.

Comments

Returns the index of the last column in the column collection.

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

The LastIndex property returns the index of the last column in the column collection. This is not necessarily the last displayed column. The ColumnsClass.LastDisplayedIndex property returns the index of the last displayed column.

See Also ColumnsClass Class | Classes | SftTree/NET 2.0