Returns the index of the last displayed column with a width greater than 0.
Class: ColumnsClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public int LastDisplayedAndVisibleIndex { get; }Public ReadOnly Property LastDisplayedAndVisibleIndex As Integer
The index of the last displayed column or -1 if no column with a width greater than zero exists.
Returns the index of the last displayed column with a width greater than 0.
The LastDisplayedAndVisibleIndex property returns the index of the last displayed column. This is not necessarily the last column in the column collection. The ColumnsClass.LastIndex property returns the index of the last column in the column collection.
The ColumnsClass.LastDisplayedIndex property returns the index of the last column in the display order, even if that column has a width of 0. The LastDisplayedAndVisibleIndex property ensures that the column also has a width greater than 0.
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 3.0