C# Class Nexus.UI.Controls.XmlTreeView

A tree view that displays a representation of an XML file.
Inheritance: System.Windows.Forms.TreeView
Show file Open project: NexusMods/NexusModManager-4.5

Protected Methods

Method Description
AddNode ( XmlNode p_xndXmlNode ) : void

Adds the given node to the tree view.

OnBeforeExpand ( System.Windows.Forms.TreeViewCancelEventArgs e ) : void

Raises the TreeView.BeforeExpand event.

This ensures that the children of a node that is about to be exanded are loaded.

Method Details

AddNode() protected method

Adds the given node to the tree view.
protected AddNode ( XmlNode p_xndXmlNode ) : void
p_xndXmlNode System.Xml.XmlNode The node to add.
return void

OnBeforeExpand() protected method

Raises the TreeView.BeforeExpand event.
This ensures that the children of a node that is about to be exanded are loaded.
protected OnBeforeExpand ( System.Windows.Forms.TreeViewCancelEventArgs e ) : void
e System.Windows.Forms.TreeViewCancelEventArgs A describing the event arguments.
return void