|
||
You can adjust the appearance of the CMSTreeView control by setting the inherited standard properties of the ASP.NET TreeView control. You can find more details on particular properties in the .NET Framework documentation.
The design of the CMSTreeView control can additionally be modified by its following properties and the CSS classes that they specify:
Property Name |
Description |
Sample Value |
InactiveItemClass |
CSS class of inactive items. |
|
InactiveItemStyle |
Style of inactive items. |
|
SelectedItemClass |
CSS class of selected items. |
|
SelectedItemStyle |
Style of selected items. |
The recommended place to define these classes is in a stylesheet in the Kentico CMS administration interface at Site Manager -> Development -> CSS stylesheets. These stylesheets can be applied to individual documents (pages) that contain the control in CMS Desk -> Content -> Edit -> Properties -> General -> CSS stylesheet.