ExplorerTreeNode Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Our own TreeNode implementation for displaying properties and relationships
public ref class ExplorerTreeNode abstract : System::Windows::Forms::TreeNode, IDisposable
public abstract class ExplorerTreeNode : System.Windows.Forms.TreeNode, IDisposable
type ExplorerTreeNode = class
inherit TreeNode
interface IDisposable
Public MustInherit Class ExplorerTreeNode
Inherits TreeNode
Implements IDisposable
- Inheritance
-
ExplorerTreeNode
- Derived
- Implements
Constructors
ExplorerTreeNode() |
Constructor |
Properties
Container |
The explorer tree container hosting this node |
DefaultImageIndex |
Get/Set the index into the TreeView image list to be used for the icon representing this node if not overridden by an icon based on the node content |
Disposed |
Whether or not this node has been explicitly disposed of |
KeepNode |
Used to prune tree during updates |
RepresentedElement |
The ModelElement this node represents (if any) |
RepresentedRole |
The Domain Role this node is representing (if any) |
Methods
Dispose() | |
Dispose(Boolean) |
Override point for performing whatever Dispose action is required by subclass |
GetRepresentedElement() |
Get the ModelElement that this node represents, if any. |
ProvideNodeText() |
Supply the text for the node |
SetRepresentedElement(ModelElement) |
Set the ModelElement that this node represents. |
Update() |
Force an update of the node's visual representation, i.e. text and icon By default this sets the default image and updates the node text through UpdateNodeText() |
UpdateNodeText() |
Force an update of the text of the node |