How to change TreeView deafult arrows & How to add icon to TreeView header part

Posted by: jagdeeshk on 5 December 2019, 7:56 pm EST

    • Post Options:
    • Link

    Posted 5 December 2019, 7:56 pm EST - Updated 4 October 2022, 12:00 am EST

    In my C1TreeView I would like to change default arrow icons to some other icons and Add icon to header part of the every node in tree-view. Icons are differ from parent-node, child-nodes and Root Node. In my case C1TreeView is not data-bound. All the Items are added on run-time based.

    Actual View :

    Requirement :

    Source Code : TreeView.zip

    Thanks & Regards,

    Jagdeesh.

  • Posted 8 December 2019, 5:23 pm EST

    Hello,

    Please refer the solution at the following link:

    https://www.grapecity.com/forums/wpf-edition/c1treeviev---how-to-change#c1archiveto-change-it-in-c

    Hope it helps.

    Thanks,

    Mohit

  • Posted 10 December 2019, 12:48 am EST - Updated 4 October 2022, 12:00 am EST

    I tried with above solution but not working. provided sample code also not working.

  • Posted 10 December 2019, 11:53 pm EST

    We are discussing the requirement with the developers [ID: 412902] and will get back to you with a solution, soon.

    Regards,

    Ruchir

  • Posted 15 December 2019, 11:54 pm EST

    Hello,

    Please refer to attached sample application that shows how to show custom icons for TreeView items.

    ~Ruchir

    TreeViewCustomIcon.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels