Persistate API documentation
PTreeNode Class
NamespacesPersistate.UI.DesktopPTreeNode

[This is preliminary documentation and is subject to change.]

Represents a node of a PTreeView.
Declaration Syntax
C#
public class PTreeNode : TreeNode, IDisposable
Members
All MembersMethodsProperties



IconMemberDescription
BackColor
Gets or sets the background color of the tree node.
(Inherited from TreeNode.)
BeginEdit()()()()
Initiates the editing of the tree node label.
(Inherited from TreeNode.)
BoundItem
Gets the Persistent or IPersistateList object bound to this node.

Bounds
Gets the bounds of the tree node.
(Inherited from TreeNode.)
Checked
Gets or sets a value indicating whether the tree node is in a checked state.
(Inherited from TreeNode.)
Clone()()()()
Copies the tree node and the entire subtree rooted at this tree node.
(Inherited from TreeNode.)
Collapse(Boolean)
Collapses the TreeNode and optionally collapses its children.
(Inherited from TreeNode.)
Collapse()()()()
Collapses the tree node.
(Inherited from TreeNode.)
ContextMenu
Gets the shortcut menu associated with this tree node.
(Inherited from TreeNode.)
ContextMenuStrip
Gets or sets the shortcut menu associated with this tree node.
(Inherited from TreeNode.)
CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Deserialize(SerializationInfo, StreamingContext)
Loads the state of the TreeNode from the specified SerializationInfo.
(Inherited from TreeNode.)
Dispose()()()()
Dispose by unbinding this node and all under it

EndEdit(Boolean)
Ends the editing of the tree node label.
(Inherited from TreeNode.)
EnsureVisible()()()()
Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.
(Inherited from TreeNode.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Expand()()()()
Expands the tree node.
(Inherited from TreeNode.)
ExpandAll()()()()
Expands all the child tree nodes.
(Inherited from TreeNode.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FirstNode
Gets the first child tree node in the tree node collection.
(Inherited from TreeNode.)
ForeColor
Gets or sets the foreground color of the tree node.
(Inherited from TreeNode.)
FullPath
Gets the path from the root tree node to the current tree node.
(Inherited from TreeNode.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService()()()()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetNodeCount(Boolean)
Returns the number of child tree nodes.
(Inherited from TreeNode.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Handle
Gets the handle of the tree node.
(Inherited from TreeNode.)
ImageIndex
Gets or sets the image list index value of the image displayed when the tree node is in the unselected state.
(Inherited from TreeNode.)
ImageKey
Gets or sets the key for the image associated with this tree node when the node is in an unselected state.
(Inherited from TreeNode.)
Index
Gets the position of the tree node in the tree node collection.
(Inherited from TreeNode.)
InitializeLifetimeService()()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
IsEditing
Gets a value indicating whether the tree node is in an editable state.
(Inherited from TreeNode.)
IsExpanded
Gets a value indicating whether the tree node is in the expanded state.
(Inherited from TreeNode.)
IsSelected
Gets a value indicating whether the tree node is in the selected state.
(Inherited from TreeNode.)
IsVisible
Gets a value indicating whether the tree node is visible or partially visible.
(Inherited from TreeNode.)
LastNode
Gets the last child tree node.
(Inherited from TreeNode.)
Level
Gets the zero-based depth of the tree node in the TreeView control.
(Inherited from TreeNode.)
MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets or sets the name of the tree node.
(Inherited from TreeNode.)
NextNode
Gets the next sibling tree node.
(Inherited from TreeNode.)
NextVisibleNode
Gets the next visible tree node.
(Inherited from TreeNode.)
NodeFont
Gets or sets the font used to display the text on the tree node's label.
(Inherited from TreeNode.)
Nodes
Gets the collection of TreeNode objects assigned to the current tree node.
(Inherited from TreeNode.)
Parent
Gets the parent tree node of the current tree node.
(Inherited from TreeNode.)
PrevNode
Gets the previous sibling tree node.
(Inherited from TreeNode.)
PrevVisibleNode
Gets the previous visible tree node.
(Inherited from TreeNode.)
Remove()()()()
Removes the current tree node from the tree view control.
(Inherited from TreeNode.)
SelectedImageIndex
Gets 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.)
SelectedImageKey
Gets or sets the key of the image displayed in the tree node when it is in a selected state.
(Inherited from TreeNode.)
Serialize(SerializationInfo, StreamingContext)
Saves the state of the TreeNode to the specified SerializationInfo.
(Inherited from TreeNode.)
ShowBoundObject()()()()
Calls the ShowOperation for the object or collection bound to this node, using its default Layout and a Pane chosen automatically.

ShowBoundObject(Layout)
Calls the ShowOperation for the object or collection bound to this node, using a particular Layout and a Pane chosen automatically.

ShowBoundObject(Layout, String)
Calls the ShowOperation for the object or collection bound to this node, using a particular Layout and Pane.

StateImageIndex
Gets or sets the index of the image used to indicate the state of the TreeNode when the parent TreeView has its CheckBoxes property set to false.
(Inherited from TreeNode.)
StateImageKey
Gets or sets the key of the image used to indicate the state of the TreeNode when the parent TreeView has its CheckBoxes property set to false.
(Inherited from TreeNode.)
Tag
Gets or sets the object that contains data about the tree node.
(Inherited from TreeNode.)
Text
Gets or sets the text displayed in the label of the tree node.
(Inherited from TreeNode.)
Toggle()()()()
Toggles the tree node to either the expanded or collapsed state.
(Inherited from TreeNode.)
ToolTipText
Gets or sets the text that appears when the mouse pointer hovers over a TreeNode.
(Inherited from TreeNode.)
ToString()()()() (Inherited from TreeNode.)
TreeView
Gets the parent tree view that the tree node is assigned to.
(Inherited from TreeNode.)
Remarks
Provides facilities to bind the node to a Persistent or an IPersistateList. Sets up event handlers so that child nodes are automatically adjusted to keep the node tree in line with the Persistent object containment tree. Adds images to each node corresponding to each class.
Inheritance Hierarchy

Assembly: Persistate.UI.Desktop (Module: Persistate.UI.Desktop) Version: 0.6.1.20 (0.6.1.20)