Hello Justin,
You can introduce a
IsExpanded property on your business object and bind the
IsExpanded property of the expander to it. Make sure to fire the
PropertyChanged event in the setter of this property. You can then subscribe for the
SelectionChanged event of the
DataBoundListBox and set the
IsExpanded property of the selected item to
true and the unselected one to
false. The
SelectionChanged event provides you with access to the selected item and the one that has been selected before that.
Hope this helps.
Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the
Ideas & Feedback portal to submit ideas, feedback and vote for them.