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.
you for your time and I look forward to hearing from you soon.