NGTree |
The NGTreeNode type exposes the following members.
| Name | Description | |
|---|---|---|
| AlwaysFalse | ||
| Description |
Gets the description string. Can be used e.g. to show a tool tip.
(Inherited from ListNode) | |
| FirstSelectedNode | ||
| GuiTag | Can be used by some GUI to get a connection to GUI elements. | |
| HasChilds | Tests for childs without creating a child collection. | |
| HasDummyChild | Returns true if this object's Children have not yet been populated. | |
| HierarchyIndices | 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. | |
| Image |
Gets an image to display for the item. The type depends on the Gui that is currently used.
(Inherited from ListNode) | |
| ImageIndex |
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) | |
| Index | Return the index in the parent's node collection or -1 if there is no parent. | |
| IsExpanded | Gets/sets whether the TreeViewItem associated with this object is expanded. | |
| IsSelected |
Gets or sets a value indicating whether this item is selected.
(Inherited from SelectableListNode) | |
| Level | 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. | |
| Nodes | Collection of the child nodes of this node. | |
| ParentNode | Parent tree node. | |
| RootNode | Return the root node belonging to this node. If the node has no parent, the node itself is returned. | |
| SelectedImageIndex | 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. | |
| SubItemCount |
Gets the number of subitems to display (Text0, Text1, etc.).
(Inherited from ListNode) | |
| Tag |
Gets or sets a tag associated with the item.
(Inherited from ListNode) | |
| Text |
Gets or sets the text that is displayed (for simple Gui items).
(Inherited from ListNode) | |
| Text0 |
Gets additional text to display for the item.
(Inherited from ListNode) | |
| Text1 |
Gets additional text to display for the item.
(Inherited from ListNode) | |
| Text2 |
Gets additional text to display for the item.
(Inherited from ListNode) | |
| Text3 |
Gets additional text to display for the item.
(Inherited from ListNode) | |
| Text4 |
Gets additional text to display for the item.
(Inherited from ListNode) | |
| Text5 |
Gets additional text to display for the item.
(Inherited from ListNode) | |
| Text6 |
Gets additional text to display for the item.
(Inherited from ListNode) | |
| Text7 |
Gets additional text to display for the item.
(Inherited from ListNode) | |
| Text8 |
Gets additional text to display for the item.
(Inherited from ListNode) | |
| Text9 |
Gets additional text to display for the item.
(Inherited from ListNode) |