TreeViewNative
An out-of-the-box treeview control that implements the ISupportTreeView interface.
public class TreeViewNative : TreeView, ISupportTreeView
Inherits from / implements: TreeView, ISupportTreeView
Remarks
If your treeview control that you want to host in the drop-down window is a standard TreeView control, then you could use this class in the place the standard treeview control, and add nodes to this instance and set the TreeViewNativeInstance property with the instance of this class.
Please refer to TreeViewNativeInstance property for a sample on this.
Members at a glance
TreeViewNative | Constructs a new instance of TreeViewNative. |
OnAfterSelect | Raises the AfterSelect event. TreeViewNative overrides it so the control's own handling runs alongside the base behavior. |
ToString | Returns a short description of this TreeViewNative, which is what the designer shows for the property. |
AfterSelect | Raises the required AfterSelect event, as prescribed in the ISupportTreeView interface. |
Constructors
TreeViewNative
Constructs a new instance of TreeViewNative.
Methods
OnAfterSelect
Raises the AfterSelect event. TreeViewNative overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
ToString
Returns a short description of this TreeViewNative, which is what the designer shows for the property.
Events
AfterSelect
Raises the required AfterSelect event, as prescribed in the ISupportTreeView interface.