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
130
change shown leftimage on mouseup
posted

Hi,

I would like to show different images depending on if a node is activated or not, like in the windows explorer. There you can see a folder that is open (active nodee) or closed (inactive node). What would the best practice?

Regards, Stefan.

 

 

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi Stefan,

    Did you want to change the expansion indicators or just supply images to the nodes?

    For the former, you would need a DrawFilter. For the latter, it's much easier.

    this.ultraTree1.Override.NodeAppearance.Image = collapseNodeImage;
    this.ultraTree1.Override.ExpandedNodeAppearance.Image = expandedNodeImage;

    I'm sure there are samples of this included with the NetAdvantage SDK.

     

Reply Children