Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ObjectSelectorEditor.SelectorNode Class

Represents a node of a TreeView.

System.Object
  System.MarshalByRefObject
    System.Windows.Forms.TreeNode
      System.ComponentModel.Design.ObjectSelectorEditor.SelectorNode

Namespace:  System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public class SelectorNode : TreeNode

The ObjectSelectorEditor.SelectorNode type exposes the following members.

  NameDescription
Public methodObjectSelectorEditor.SelectorNodeInitializes a new instance of the ObjectSelectorEditor.SelectorNode class.
Top

  NameDescription
Public propertyBackColorGets or sets the background color of the tree node. (Inherited from TreeNode.)
Public propertyBoundsGets the bounds of the tree node. (Inherited from TreeNode.)
Public propertyCheckedGets or sets a value indicating whether the tree node is in a checked state. (Inherited from TreeNode.)
Public propertyContextMenuGets the shortcut menu that is associated with this tree node. (Inherited from TreeNode.)
Public propertyContextMenuStripGets or sets the shortcut menu associated with this tree node. (Inherited from TreeNode.)
Public propertyFirstNodeGets the first child tree node in the tree node collection. (Inherited from TreeNode.)
Public propertyForeColorGets or sets the foreground color of the tree node. (Inherited from TreeNode.)
Public propertyFullPathGets the path from the root tree node to the current tree node. (Inherited from TreeNode.)
Public propertyHandleGets the handle of the tree node. (Inherited from TreeNode.)
Public propertyImageIndexGets or sets the image list index value of the image displayed when the tree node is in the unselected state. (Inherited from TreeNode.)
Public propertyImageKeyGets or sets the key for the image associated with this tree node when the node is in an unselected state. (Inherited from TreeNode.)
Public propertyIndexGets the position of the tree node in the tree node collection. (Inherited from TreeNode.)
Public propertyIsEditingGets a value indicating whether the tree node is in an editable state. (Inherited from TreeNode.)
Public propertyIsExpandedGets a value indicating whether the tree node is in the expanded state. (Inherited from TreeNode.)
Public propertyIsSelectedGets a value indicating whether the tree node is in the selected state. (Inherited from TreeNode.)
Public propertyIsVisibleGets a value indicating whether the tree node is visible or partially visible. (Inherited from TreeNode.)
Public propertyLastNodeGets the last child tree node. (Inherited from TreeNode.)
Public propertyLevelGets the zero-based depth of the tree node in the TreeView control. (Inherited from TreeNode.)
Public propertyNameGets or sets the name of the tree node. (Inherited from TreeNode.)
Public propertyNextNodeGets the next sibling tree node. (Inherited from TreeNode.)
Public propertyNextVisibleNodeGets the next visible tree node. (Inherited from TreeNode.)
Public propertyNodeFontGets or sets the font that is used to display the text on the tree node label. (Inherited from TreeNode.)
Public propertyNodesGets the collection of TreeNode objects assigned to the current tree node. (Inherited from TreeNode.)
Public propertyParentGets the parent tree node of the current tree node. (Inherited from TreeNode.)
Public propertyPrevNodeGets the previous sibling tree node. (Inherited from TreeNode.)
Public propertyPrevVisibleNodeGets the previous visible tree node. (Inherited from TreeNode.)
Public propertySelectedImageIndexGets or sets the image list index value of the image that is displayed when the tree node is in the selected state. (Inherited from TreeNode.)
Public propertySelectedImageKeyGets or sets the key of the image displayed in the tree node when it is in a selected state. (Inherited from TreeNode.)
Public propertyStateImageIndexGets or sets the index of the image that is used to indicate the state of the TreeNode when the parent TreeView has its CheckBoxes property set to false. (Inherited from TreeNode.)
Public propertyStateImageKeyGets or sets the key of the image that is used to indicate the state of the TreeNode when the parent TreeView has its CheckBoxes property set to false. (Inherited from TreeNode.)
Public propertyTagGets or sets the object that contains data about the tree node. (Inherited from TreeNode.)
Public propertyTextGets or sets the text displayed in the label of the tree node. (Inherited from TreeNode.)
Public propertyToolTipTextGets or sets the text that appears when the mouse pointer hovers over a TreeNode. (Inherited from TreeNode.)
Public propertyTreeViewGets the parent tree view that the tree node is assigned to. (Inherited from TreeNode.)
Top

  NameDescription
Public methodBeginEditInitiates the editing of the tree node label. (Inherited from TreeNode.)
Public methodCloneCopies the tree node and the entire subtree rooted at this tree node. (Inherited from TreeNode.)
Public methodCollapse()Collapses the tree node. (Inherited from TreeNode.)
Public methodCollapse(Boolean)Collapses the TreeNode and optionally collapses its children. (Inherited from TreeNode.)
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Protected methodDeserializeLoads the state of the TreeNode from the specified SerializationInfo. (Inherited from TreeNode.)
Public methodEndEditEnds the editing of the tree node label. (Inherited from TreeNode.)
Public methodEnsureVisibleEnsures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary. (Inherited from TreeNode.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExpandExpands the tree node. (Inherited from TreeNode.)
Public methodExpandAllExpands all the child tree nodes. (Inherited from TreeNode.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodGetNodeCountReturns the number of child tree nodes. (Inherited from TreeNode.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone()Creates a shallow copy of the current Object. (Inherited from Object.)
Protected methodMemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public methodRemoveRemoves the current tree node from the tree view control. (Inherited from TreeNode.)
Protected methodSerializeSaves the state of the TreeNode to the specified SerializationInfo. (Inherited from TreeNode.)
Public methodToggleToggles the tree node to either the expanded or collapsed state. (Inherited from TreeNode.)
Public methodToStringReturns a string that represents the current object. (Inherited from TreeNode.)
Top

  NameDescription
Public fieldvalueRepresents the value for the node.
Top

  NameDescription
Explicit interface implemetationPrivate methodISerializable.GetObjectDataPopulates a serialization information object with the data needed to serialize the TreeNode. (Inherited from TreeNode.)
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft