This is a migrated thread and some comments may be shown as answers.

Programatically setting RadPanelBarItem visual state

1 Answer 26 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 10 Jun 2010, 01:08 PM

Hi,

 

We have a user control with a RadPanelBar placed horizontally to act as an accordion. When our user control loads, we expand a particular RadPanelBarItem by setting IsExpanded to true. This works, but the ‘Expanded’ visual state is not triggered. The ‘Expanded’ VisualState is set against the ‘RootElement’ Grid control. We have programmatic access to the grid control but cannot call VisualStateManager.GoToState(...) on the control, as the grid object is a FrameworkElement and VisualStateManager.GoToState(...) requires a control that inherits from Control. How do we trigger this state change?

 

Please note that this forum post is a copy of support ticket #317830 that I raised.


Thank you for your time and I look forward to hearing from you soon.
Jon Brasted

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 15 Jun 2010, 09:15 AM
Hi Jonathan,

I've posted a reply to your other thread. Have a look at it and let me know how it goes.

Regards,
Kiril Stanoev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
PanelBar
Asked by
Jon
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or