Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > TreeView > Expander Image should always be displayed

Not answered Expander Image should always be displayed

Feed from this thread
  • Prash avatar

    Posted on Mar 4, 2009 (permalink)

    Hello,


    I have a requirement wherein I want that the expanding image should always be visible irrespective of the child Item present or not.

    I tried a lot but could not get how to do it.

    A sample code would be helpful.

    thanks and regards

    Reply

  • Tihomir Petkov Tihomir Petkov admin's avatar

    Posted on Mar 9, 2009 (permalink)

    Hi Prash,

    I am attaching a sample project that demonstrates how you can implement your scenario. Let me  know if you have further questions.

    Kind regards,
    Tihomir Petkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

    Reply

  • Jose avatar

    Posted on Nov 18, 2011 (permalink)

    I have a similar requirement but in my case I need the expander to look like it has items underneath it (arrow facing down for example).

    I did something similar to this on a TreeListView by setting the "IsExpandable" property to true during the RowLoaded event.  Is there something similar on the TreeView?

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Nov 23, 2011 (permalink)

    Hi Jose,

    You can follow the same approach but define a custom style for the Expander element of the RadTreeViewItems. The RadTreeView control exposes a ExpanderStyle property that allow you to set a custom style for the expander element of the items.

    Please take a look at the sample I attached and let me know if it helps.

    Greetings,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > TreeView > Expander Image should always be displayed
Related resources for "Expander Image should always be displayed"

WPF TreeView Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]