DocumentBrowser
Description
- Derived from
A GUI component that displays a collection of documents.
The following default Layout settings are defined for DocumentBrowser objects:
Public / Methods
Content
2 overloads
Specifies the content for the document browser.
- IOException
-
If an I/O error has occurred while loading the text documents.
- ValidatingException
-
If the given file is not a valid text document (see TextDocument.FromString) or if the text document does not follow the rules for the table of contents of a document browser.
- See also
Specifies the content for the document browser.
- IOException
-
If an I/O error has occurred while loading the text documents.
- ValidatingException
-
If the text document does not follow the rules for the table of contents of a document browser.
- See also
Public / Attributes
ContentRoot
Returns the content root item.
The returned DataItem should not be modified. Its properties may be interpreted as follows:
-
DataItem.Text
The title of the document, as it appears in the navigation tree. -
DataItem.UserData
The canonical path to the document file (loadable with TextDocument.FromFile) that is associated with the node. Will benull
iff the node does not have an associated document file. -
DataItem.Children
The node children represents the children in the navigation tree.
- See also