Click or drag to resize

NGTreeNode Properties

The NGTreeNode type exposes the following members.

Properties
 NameDescription
Public propertyAlwaysFalse 
Public propertyDescription Gets the description string. Can be used e.g. to show a tool tip.
(Inherited from ListNode)
Public propertyFirstSelectedNode 
Public propertyGuiTag Can be used by some GUI to get a connection to GUI elements.
Public propertyHasChilds Tests for childs without creating a child collection.
Public propertyHasDummyChild Returns true if this object's Children have not yet been populated.
Public propertyHierarchyIndices Returns the hierarchy of indices, i.e. the indices beginning with the root node collection and ending with the index in the nodes parent collection.
Public propertyImage Gets an image to display for the item. The type depends on the Gui that is currently used.
(Inherited from ListNode)
Public propertyImageIndex Returns an image index, or -1 if no image is set. The default implementation here returns -1, but this behaviour can be overriden in a derived class.
(Overrides ListNodeImageIndex)
Public propertyIndex Return the index in the parent's node collection or -1 if there is no parent.
Public propertyIsExpanded Gets/sets whether the TreeViewItem associated with this object is expanded.
Public propertyIsSelected Gets or sets a value indicating whether this item is selected.
(Inherited from SelectableListNode)
Public propertyLevel The level in the hierarchy. Nodes that have no parent return a level of 0, those with a parent return a level of 1, those with parent and grand parent a level of 2 and so on.
Public propertyNodes Collection of the child nodes of this node.
Public propertyParentNode Parent tree node.
Public propertyRootNode Return the root node belonging to this node. If the node has no parent, the node itself is returned.
Public propertySelectedImageIndex Returns an image index (for the selected node), or -1 if no image is set. The default implementation here returns -1, but this can be overriden in a derived class. Note that when using SelectedImageIndex, you probably also need to override [M:OnPropertyChanged], so that when the [P:IsSelected] property changed, you must also call [M:OnPropertyChanged] with "ImageIndex" as argument.
Public propertySubItemCount Gets the number of subitems to display (Text0, Text1, etc.).
(Inherited from ListNode)
Public propertyTag Gets or sets a tag associated with the item.
(Inherited from ListNode)
Public propertyText Gets or sets the text that is displayed (for simple Gui items).
(Inherited from ListNode)
Public propertyText0 Gets additional text to display for the item.
(Inherited from ListNode)
Public propertyText1 Gets additional text to display for the item.
(Inherited from ListNode)
Public propertyText2 Gets additional text to display for the item.
(Inherited from ListNode)
Public propertyText3 Gets additional text to display for the item.
(Inherited from ListNode)
Public propertyText4 Gets additional text to display for the item.
(Inherited from ListNode)
Public propertyText5 Gets additional text to display for the item.
(Inherited from ListNode)
Public propertyText6 Gets additional text to display for the item.
(Inherited from ListNode)
Public propertyText7 Gets additional text to display for the item.
(Inherited from ListNode)
Public propertyText8 Gets additional text to display for the item.
(Inherited from ListNode)
Public propertyText9 Gets additional text to display for the item.
(Inherited from ListNode)
Top
See Also