Wimark.Controls Class Library  

TreeNode Members

TreeNode overview

Public Constructors

public constructorTreeNode Constructor Overloaded. Initializes a new instance of the TreeNode class with the specified label text, child tree nodes, and images to display when the tree node is in a selected and unselected state.

Public Properties

public propertyBackColor Gets or sets the background color of the tree node.
public propertyBounds Gets the bounds of the tree node.
public propertyCheckBox Gets or sets a value indicating whether a check box is displayed next to the tree node.
public propertyChecked Gets or sets a value indicating whether the tree node is checked.
public propertyCheckState Gets or sets a value indicating the check state of the tree node.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyDragAppearance Gets or sets the visual appearance of a tree node that is involved in drag-and-drop operation.
public propertyEditor Gets or sets the label editor.
public propertyEditorDraw Gets or sets a value indicating whether the label editor always should draw the label.
public propertyEnabled Gets or sets a value indicating whether a tree node is enabled.
public propertyFirstChildNode Gets the first child tree node in the tree node collection.
public propertyForeColor Gets or sets the foreground color of the tree node.
public propertyFullPath Gets the path from the root tree node to the current tree node.
public propertyHasBeenExpanded Gets a value indicating whether the tree node has been expanded.
public propertyImageIndex Gets or sets the image list index value of the image displayed when the tree node is in the unselected state.
public propertyImageList Gets the image list.
public propertyIndex Gets the position of the tree node in the tree node collection.
public propertyIsEditing Gets a value indicating whether the tree node is in an editable state.
public propertyIsExpanded Gets a value indicating whether the tree node is in the expanded state.
public propertyIsVisible Gets a value indicating whether the tree node is visible.
public propertyLastChildNode Gets the last child tree node in the tree node collection.
public propertyLevel Gets a value indicating the level of the tree node in the tree hierarchy.
public propertyModified Gets or sets a value that indicates that the tree node has been modified by the user since the state was cleared.
public propertyNextExpandedNode Gets the next tree node in the expanded tree hierarchy, that can be a child, sibling, or a tree node from another branch.
public propertyNextNode Gets the next tree node in the tree hierarchy, that can be a child, sibling, or a tree node from another branch.
public propertyNextSiblingNode Gets the next sibling tree node.
public propertyNextVisibleNode Gets the next visible tree node in the expanded tree hierarchy, that can be a child, sibling, or a tree node from another branch.
public propertyNodeFont Gets or sets the font used to display the text on the tree node's label.
public propertyNodes Gets the collection of TreeNode objects assigned to the current tree node.
public propertyParent Gets the parent tree node of the current tree node.
public propertyPrevExpandedNode Gets the previous tree node in the expanded tree hierarchy, that can be a sibling, or a tree node from another branch.
public propertyPrevNode Gets the previous tree node in the tree hierarchy, that can be a sibling, or a tree node from another branch.
public propertyPrevSiblingNode Gets the previous sibling tree node.
public propertyPrevVisibleNode Gets the previous visible tree node in the expanded tree hierarchy, that can be a sibling, or a tree node from another branch.
public propertySelected Gets or sets a value indicating whether the tree node is in the selected state.
public propertySelectedImageIndex Gets or sets the image list index value of the image that is displayed when the tree node is in the selected state.
public propertyShowImage Gets or sets a value indicating whether the image should be visible.
public propertyShowPlusMinusInitially Gets or sets a value indicating whether the plus-sign button always should be displayed before the tree node has been expanded.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertyTag Gets or sets the object that contains data about the tree node.
public propertyText Gets or sets the text displayed in the label of the tree node.
public propertyToolTipText Gets or sets the text of a tool tip that describes the tree node.
public propertyToolTipTitle Gets or sets the title of a tool tip that describes the tree node.
public propertyTreeView Gets the parent tree view that the tree node is assigned to.
public propertyValue Gets or sets an object that contains data about the tree node.

Public Methods

public methodBeginEdit Initiates the editing of the tree node label.
public methodClone Copies the tree node and the entire subtree rooted at this tree node.
public methodCollapse Collapses the tree node.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDisableAll Disables the node and all the child tree nodes.
public methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodEnableAll Enables the node and all the child tree nodes.
public methodEndEdit Ends the editing of the tree node label.
public methodEnsureVisible Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodExpand Expands the tree node.
public methodExpandAll Expands all the child tree nodes.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetImage Gets the image displayed when the tree node is in the unselected state.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetNodeCount Returns the number of child tree nodes.
public methodGetSelectedImage Gets the image that is displayed when the tree node is in the selected state.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodRemove Removes the current tree node from the tree view control.
public methodToggle Toggles the tree node to either the expanded or collapsed state.
public methodToString (inherited from Component) Overridden. See Object.ToString.

Public Events

public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.

Protected Methods

protected methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
protected methodFinalize (inherited from Component) Overridden. See Object.Finalize.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TreeNode Class | Wimark.Controls Namespace