Tree.Level.#.property DataWindow object property
Description
The file name of the icon for a TreeView node in a TreeView
level band when the icon is in either the expanded or collapsed
state. You set the icon file name separately for each TreeView level
band.
Controls
TreeView DataWindows
Syntax
Describe and Modify argument:
1 |
"DataWindow.Tree.Level.<span>#</span>.<span>property</span> { = <span>value</span> } " |
Parameter |
Description |
---|---|
# |
The number of the level for which you |
property |
A property that indicates whether the
|
value |
(exp) A string value Value can be a quoted DataWindow expression. |
Usage
In the painter
Select the level by clicking the gray divider for the band. Specify
a file name and location in the Collapsed Tree Node Icon File and Expanded
Tree Node Icon File boxes on the General tab in the Properties view for
the band. These properties are disabled if Use Tree Node Icon is
not selected on the General tab in the Properties view for the DataWindow.
You cannot get or set these properties using dot notation.
For a TreeView Web DataWindow, the image files must be deployed
to the Web site.
Examples
The following example gets the name of the icon used
when a level 1 node is collapsed:
1 |
string ls_ico |
1 |
ls_ico = dw_tview.Describe  &<br> ("DataWindow.Tree.Level.1.CollapsedTreeNodeIconName") |