How make the PanelBar not selectable?

2 posts, 0 answers
  1. Ramiro
    Ramiro avatar
    1 posts
    Member since:
    Sep 2008

    Posted 26 Aug 2011 Link to this post

    Hi.
    In evaluating the Panebar i want to make the panel bar not selectable, i.e. when the user click on the group or on the item only is pusched but not remain selected.

    How can do i this?
    thanks.
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 31 Aug 2011 Link to this post

    Hello Ramiro,

     You can use the PreviewSelectionChanged event of the RadPanelBar and set e.Handled = true in the handler. This will prevent the RadPanelBarItems from being selected. On the other hand, you can disable only the visual notification of a selected item by changing the default style of the RadPanelBarItem. Please let us know if you need further assistance on this.

    Regards,
    Petar Mladenov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top