Thanks for writing and for your question.
Yes, you can achieve this behavior by introduce a Boolean property on your Business Entity which you should bind (twoway mode) to the IsExpanded
property of the Expander in your Data Template. This will allow you to always store the state in your ViewModel and have the expanders correctly displayed.
I hope this helps.
Have a suggestion or face a problem - you can use the Ideas & Feedback portal
to submit ideas, feedback and vote for them.