Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ItemClass Class

An instance of the ItemClass class describes one individual item in a SftTree/NET control.

There is one instance of the ItemClass class for each item in a SftTree/NET control.

Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Inheritance

Syntax

public class ItemClass;
Public Class ItemClass

Constructors

This class cannot be instantiated.

Properties

Public_CreateChildrenFor internal use only - Not intended for direct use by applications
PublicBackColorDefines the background color of the item's cells.
PublicBackColorSelectedDefines the background color of the item's cells, if the item is selected.
PublicCellsReturns the item's cell collection.
PublicChildrenReturns the dependent items of this item.
PublicDirectChildCountReturns the number of immediate dependents of this item.
PublicEditIgnoreDefines whether the cells in this item are ignored for cell editing.
PublicEnabledReturns whether this item is enabled.
PublicExpandCollapseButtonDefines the expand/collapse button style.
PublicExpandedReturns whether this item is expanded.
PublicFirstCellReturns the first cell in the item's cell collection.
PublicFirstChildReturns the item's first dependent.
PublicFirstDisplayedCellReturns the first displayed cell in the item's cell collection.
PublicFirstSiblingReturns the item's first sibling item.
PublicForeColorDefines the foreground color of the item's cells.
PublicForeColorSelectedDefines the foreground color of the item's cells, if the item is selected.
PublicHasChildrenReturns whether this item has dependents.
PublicImageDefines the item image displayed in this item.
PublicLastCellReturns the last cell in the item's cell collection.
PublicLastChildReturns the item's last dependent.
PublicLastDependentReturns the item's last direct or indirect dependent.
PublicLastDisplayedCellReturns the last displayed cell in the item's cell collection.
PublicLastSiblingReturns the item's last sibling item.
PublicLevelReturns the item's level number.
PublicMaxHeightDefines the maximum height of this item.
PublicMinHeightDefines the minimum height of this item.
PublicNextReturns the next item (visible or hidden).
PublicNextSiblingReturns the item's next sibling item.
PublicNextVisibleReturns the next visible item.
PublicOwningControlReturns the control owning this item.
PublicParentReturns the parent item of the item.
PublicPreviousReturns the previous item (visible or hidden).
PublicPreviousVisibleReturns the previous visible item.
PublicPrevSiblingReturns the item's previous sibling item.
PublicRealHeightReturns the physical height of the item.
PublicRowHeaderReturns the item's row header.
PublicSelectedDefines whether this item is selected.
PublicTagObjectDefines application-specific data.
PublicTagObjectsDefines application-specific data.
PublicTagStringDefines an application-specific string.
PublicTopParentReturns the item's top-most parent item.
PublicTotalChildCountReturns the number of all dependents of this item.
PublicTotalVisibleCountReturns the total number of immediate and indirect dependents that are visible.
PublicUsageLocationReturns the location where this item is used.
PublicVisibleDefines whether this item is visible.
PublicVisibleIndexReturns the index of the item.
PublicWidthIgnoreDefines whether cells and the row header in this item are ignored for optimal column width calculation.

Methods

PublicAddAdds a new dependent to the current item. The new item is added as the last dependent.
PublicCollapseCollapses the item so its dependents are hidden.
ProtectedCopyCopies an item to a new position in the tree control.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
PublicExpandExpands the item so its dependents become visible.
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.
PublicInsertAfterInserts a new item as the next sibling of this item.
PublicInsertBeforeInserts a new item as the previous sibling of this item.
PublicInsertFirstInserts a new item as the first sibling of this item.
PublicInsertLastInserts a new item as the last sibling of this item.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicMoveMoves an item to a new position in the tree control.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicRemoveRemoves this item.
PublicRemoveChildrenRemoves the item's dependents.
PublicScrollIntoViewVertically scrolls the item into view so it is displayed in the tree control's client area.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

See Also Classes | SftTree/NET 2.0