Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

LastDisplayedAndVisible Property, ColumnsClass Class

Returns the last displayed column.

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

Syntax

public ColumnClass LastDisplayedAndVisible { get; }
Public ReadOnly Property LastDisplayedAndVisible As ColumnClass

Value

The last displayed column or null/Nothing if the column collection is empty.

Comments

Returns the last displayed column.

The LastDisplayedAndVisible property returns the last displayed column. This is not necessarily the last column in the column collection. The ColumnsClass.Last property returns the last column in the column collection.

The ColumnsClass.LastDisplayed property returns the last column in the display order, even if that column has a width of 0. The LastDisplayedAndVisible property insures 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 2.0