Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ColumnClass Class

An instance of the ColumnClass class represents one individual column in a SftTree/NET control.

There is one instance of the ColumnClass class for each column in a SftTree/NET control. Individual columns can be accessed using the ColumnsClass.Item property. Columns can be added and removed using the ColumnsClass.Count property. Certain default properties and behavior for all columns can be defined using the SftTree.Columns property.

Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Inheritance

Syntax

public class ColumnClass;
Public Class ColumnClass

Constructors

PublicColumnClassInitializes a new instance of the ColumnClass class.

Properties

Public_WidthReturns the real width of the column.
PublicAllowMergeFromPreviousDefaultDefines the CellBaseClass.AllowMergeFromPrevious property default for cells in this column, whether cells in this column allow merging with cells in the previous column.
PublicAllowMergeFromUpperDefaultDefines the CellBaseClass.AllowMergeFromUpper property default for cells in this column, whether cells in this column allow merging with cells above, in the same column.
PublicBackColorDefines the column's default background color for cells in the item area that are not selected.
PublicBackColorSelectedDefines the column's default background color for cells in the item area that are selected.
PublicForeColorDefines the column's default foreground color for cells in the item area that are not selected.
PublicForeColorSelectedDefines the column's default foreground color for cells in the item area that are selected.
PublicGridLinesDefines the default grid lines style for cells in this column's item area.
PublicIndexReturns the column's zero-based index in the column collection.
PublicInLeftPaneReturns whether this column is located in the left pane.
PublicIsFirstDisplayedReturns whether this column is the first column displayed in the left pane.
PublicIsFirstDisplayedAndVisibleReturns whether this column is the first displayed column with a width greater than 0 in the left pane.
PublicIsFirstDisplayedAndVisibleInRightPaneReturns whether this column is the first displayed column with a width greater than 0 in the right pane.
PublicIsFirstDisplayedInRightPaneReturns whether this column is the first column displayed in the right pane.
PublicIsLastDisplayedReturns whether this column is the last column displayed in the right pane.
PublicIsLastDisplayedAndVisibleReturns whether this column is the last displayed column with a width greater than 0 in the right pane.
PublicIsLastDisplayedAndVisibleInLeftPaneReturns whether this column is the last displayed column with a width greater than 0 in the left pane.
PublicIsLastDisplayedInLeftPaneReturns whether this column is the last column displayed in the left pane.
PublicKeepPositionDefines whether this column must remain in its current position and cannot be reordered.
PublicMaxWidthDefines the maximum width of the column while the user resizes the column.
PublicMergeWithLowerDefaultDefines the CellBaseClass.MergeWithLower property default for cells in this column, whether cells in this column merge with cells below, in the same column.
PublicMergeWithNextDefaultDefines the CellBaseClass.MergeWithNext property default for cells in this column, whether cells in this column merge with cells in the next column.
PublicMinWidthDefines the minimum width of the column while the user resizes the column.
PublicNextDisplayedReturns the next displayed column.
PublicNextDisplayedIndexReturns the zero-based index of the next displayed column.
PublicPositionDefines the column's zero-based display position, used to visually reorder columns.
PublicPreviousDisplayedReturns the previous displayed column.
PublicPreviousDisplayedIndexReturns the zero-based index of the previous displayed column.
PublicReorderableDefines whether this column is reorderable.
PublicResizableDefines whether this column is resizable.
PublicShowHierarchyDefines whether this column displays hierarchy information (tree lines, expand/collapse buttons, item image).
PublicShowToolTipsDefines whether tooltips are shown for cells in this column's item area.
PublicWidthDefines the column's width, adjusting for open-ended columns.

Methods

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.
PublicGetOptimalWidthCalculates the column's optimal width so that the cell contents in this column can be displayed without being clipped horizontally.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicMakeOptimalSets the column's optimal width so that the cell contents in this column can be displayed without being clipped horizontally.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicScrollIntoViewHorizontally scrolls the column into view so it is displayed in the control's client area.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

See Also Classes | SftTree/NET 2.0