Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > PanelBar > Disable expanding on RadPanelBarItem?

Answered Disable expanding on RadPanelBarItem?

Feed from this thread
  • Erik avatar

    Posted on Feb 5, 2012 (permalink)

    Is it possible to force a RadPanelBarItem to be always open? (hide the expander button, disable double click on header)

    Reply

  • Answer Petar Mladenov Petar Mladenov admin's avatar

    Posted on Feb 8, 2012 (permalink)

    Hello Erik,

     Please check out the attached project where a possible approach is demonstrated. The Style of the PanelBarItems is edited in order to hide the "Arrow" ( its Opacity is set to 0). On the other hand, we have set only one RadPanelBarItem to be Expanded initially and we have globally set:

    IsExpandOnSingleClickEnabled="False"
    IsExpandOnDblClickEnabled="False"
      All the best,
    Petar Mladenov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
    Attached files

    Reply

  • Erik avatar

    Posted on Feb 8, 2012 (permalink)

    Thanks Petar your solution works.

    RadPanelBar and RadPanelBarItem each expose a property named 'ExpanderStyle', can this property be used to modify the visualisation of the expander? (so that I don't have to template the entire RadPanelBar)

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Feb 9, 2012 (permalink)

    Hi Erik ,

     This property is inherited from RadTreeView but cannot be used in RadPanelBar. Please excuse us for the inconvenience caused.

    Kind regards,
    Petar Mladenov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > PanelBar > Disable expanding on RadPanelBarItem?
Related resources for "Disable expanding on RadPanelBarItem?"

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