WebObjectTree Studio
  Reset
Display Options:
This sample demonstrates the different display options available for the WebObjectTree elements.

The following properties control the visibility of the indent images, item expanders and item icons, respectively. Setting them to custom values and clicking the "Apply" button will change the values on the control and re-render the results (no other changes are performed).

WebObjectTree.ShowIndentImages = ;

WebObjectTree.ShowItemExpanders = ;

WebObjectTree.ShowItemIcons = ;


It should be noted that when the item expanders are not shown, the parent items can still be expanded and collapsed by double-clicking on them.

In this sample the WebObjectTree is allowing you to select some food, organized by food group and item. Clicking the "Submit" button will display the full path for your selection below:
Click the "Reset" link to clear your selection and restore the properties above to their default values.
Control being used:
View the code:
The code is available in the samples directory under:
/Presentation
    /DisplayOptions