Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

Document Property, ContentsClass Class

Defines the XML document representing the contents of the tree control.

Class: ContentsClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public XmlDocument Document { get; set; }
Public Property Document As XmlDocument

Value

The XML document.

Comments

Defines the XML document representing the contents of the tree control.

Instead of saving/loading the tree control using the Document property or using the control's SftTree.GetContents/SftTree.SetContents methods, an application may wish to limit the amount of data saved by implementing its own save/load mechanism and save only the properties that are needed. Alternatively, if an application has an external data source, it may rebuild the tree control contents from its own data source, which may be significantly faster than an XML document. By implementing its own save/load mechanism an application could use a regular file or a custom format, which may also be significantly faster than an XML document.

See Also ContentsClass Class | Classes | SftTree/NET 2.0



Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.