Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ColumnsClass Class

An instance of the ColumnsClass class describes attributes that apply to all columns in a SftTree/NET control.

There is only one instance of the ColumnsClass class for one SftTree/NET control. It is accessed using the SftTree.Columns property.

An individual column can be accessed through the ColumnsClass.Item property.

Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Inheritance

Syntax

public class ColumnsClass;
Public Class ColumnsClass

Constructors

This class cannot be instantiated.

Properties

PublicCollectionReturns the column collection.
PublicCountDefines the number of columns.
PublicFirstReturns the first column in the column collection.
PublicFirstDisplayedReturns the first displayed column.
PublicFirstDisplayedAndVisibleReturns the first displayed column.
PublicFirstDisplayedAndVisibleIndexReturns the index of the first displayed column.
PublicFirstDisplayedIndexReturns the index of the first displayed column.
PublicFirstIndexReturns the index of the first column in the column collection.
PublicItemDefines the column at the specified index.
PublicLastReturns the last column in the column collection.
PublicLastDisplayedReturns the last displayed column.
PublicLastDisplayedAndVisibleReturns the last displayed column.
PublicLastDisplayedAndVisibleIndexReturns the index of the last displayed column.
PublicLastDisplayedIndexReturns the index of the last displayed column.
PublicLastIndexReturns the index of the last column in the column collection.
PublicLastOpenendedDefines whether the last column is open-ended.
PublicResizableDefines whether resizable columns can be resized in the item area.

Methods

PublicAddAdds a new column.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicIndexToPositionTranslates a real column index into the column display position.
PublicMakeOptimalSets the optimal column width of all columns so that the cell contents of all cells can be displayed without being clipped horizontally.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicPositionToIndexTranslates a column display position into the real column index.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicRemoveAtRemoves the specified column.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

See Also Classes | SftTree/NET 2.0