Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

TopParent Property, ItemClass Class

Returns the item's top-most parent item.

Class: ItemClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public ItemClass TopParent { get; }
Public ReadOnly Property TopParent As ItemClass

Value

The top-most parent item or null/Nothing if the item is a top-most item.

Comments

Returns the item's top-most parent item.

To find an item's immediate parent, use the ItemClass.Parent property instead.

See Also ItemClass Class | Classes | SftTree/NET 2.0