NGTree |
public class NGTreeNodeWithImageIndex : NGTreeNode
The NGTreeNodeWithImageIndex type exposes the following members.
| Name | Description | |
|---|---|---|
| NGTreeNodeWithImageIndex | Initializes a new instance of the NGTreeNodeWithImageIndex class |
| Name | Description | |
|---|---|---|
| AlwaysFalse |
Gets or sets a property that always returns false when read.
(Inherited from NGTreeNode) | |
| Description |
Gets the description string. Can be used e.g. to show a tool tip.
(Inherited from ListNode) | |
| FirstSelectedNode |
Gets the first selected node in this subtree.
(Inherited from NGTreeNode) | |
| GuiTag |
Can be used by some GUI to get a connection to GUI elements.
(Inherited from NGTreeNode) | |
| HasChilds |
Tests for childs without creating a child collection.
(Inherited from NGTreeNode) | |
| HasDummyChild |
Returns true if this object's Children have not yet been populated.
(Inherited from NGTreeNode) | |
| 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.
(Inherited from NGTreeNode) | |
| 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. Getting the image index, either the image index for the not selected state or for the selected state is returned.
(Overrides NGTreeNodeImageIndex) | |
| Index |
Return the index in the parent's node collection or -1 if there is no parent.
(Inherited from NGTreeNode) | |
| IsExpanded |
Gets/sets whether the TreeViewItem
associated with this object is expanded.
(Inherited from NGTreeNode) | |
| IsSelected |
Gets or sets a value indicating whether this instance 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.
(Inherited from NGTreeNode) | |
| Nodes |
Collection of the child nodes of this node.
(Inherited from NGTreeNode) | |
| ParentNode |
Parent tree node.
(Inherited from NGTreeNode) | |
| RootNode |
Return the root node belonging to this node. If the node has no parent, the node itself is returned.
(Inherited from NGTreeNode) | |
| SelectedImageIndex |
Returns an image index (for the selected node), or -1 if no image is set.
Note that when using SelectedImageIndex, you probably also need to override OnPropertyChanged(String), so that when the IsSelected property changed,
you must also call OnPropertyChanged(String) with "ImageIndex" as argument.
(Overrides NGTreeNodeSelectedImageIndex) | |
| 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) |
| Name | Description | |
|---|---|---|
| ClearSelectionRecursively |
Clears the selection state of this node and all descendant nodes.
(Inherited from NGTreeNode) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| LoadChildren |
Invoked when the child items need to be loaded on demand.
Subclasses can override this to populate the Children collection.
(Inherited from NGTreeNode) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| OnPropertyChanged |
Called when a property has changed.
(Overrides ListNodeOnPropertyChanged(String)) | |
| Remove |
Frees this node, i.e. removes the node from it's parent collection (and set the parent node to null.
(Inherited from NGTreeNode) | |
| ReplaceBy |
Replaces this node in the tree by the new node newNode, setting this node free (i.e. afterwards it has no parent anymore).
(Inherited from NGTreeNode) | |
| SubItemBackColor |
Gets the background color of the subitems.
(Inherited from ListNode) | |
| SubItemText |
Get the sub item text at index i.
Implementer should be aware of, that when changing a subitem text, the corresponding property (e.g. Text0) is changed. Thus, OnPropertyChanged(String) must be called for all properties that have changed.
(Inherited from ListNode) | |
| ToString |
Converts to string.
(Inherited from ListNode) |
| Name | Description | |
|---|---|---|
| PropertyChanged |
Occurs when a property value changes.
(Inherited from ListNode) |
| Name | Description | |
|---|---|---|
| _guiTag |
Optional tag used by GUI code.
(Inherited from NGTreeNode) | |
| _imageIndex | The image index used when the node is not selected. | |
| _isExpanded |
A value indicating whether this node is expanded.
(Inherited from NGTreeNode) | |
| _isSelected |
Indicates whether this item is selected.
(Inherited from SelectableListNode) | |
| _selectedImageIndex | The image index used when the node is selected. | |
| _tag |
The associated tag object.
(Inherited from ListNode) | |
| _text |
The display text.
(Inherited from ListNode) |