Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
660
css for webtree
posted

Did you have an example of all properties that can be set for the webtree for all styles that can be set (also in which elements of the tree)?

 

I tried setting styles for: 

BorderStyle=Solid ForeColor="Black" BackColor="White"

Font-Names="Tahoma" Font-Size="10pt"

 

 

in css, but not all can be set that way.

 

 

  • 7694
    posted

    Hello,

    You can use the property CssClass of NodeStyle tag and set CSS class for all nodes,  concrete node or the tree. Please taka e a look at the code below:
        <style type="text/css">
            .css
            {
                font-size: 10pt;
                font-family: Tahoma;
                color:Yellow;
                
                border-style: solid;
                background-color: red;
            }

          .css1
      {
        //to do
      }
        </style>

    <ignav:UltraWebTree CssClass="css1"  >
    <NodeStyle CssClass="css"  />
    ...

    Hope this helps.