I can see a code-behind (not ViewModel's code) in your snippets. If you need code behind solution, you can check out the attached project where the ViewModel`s property is changed dynamically ( you can also change the IsExpanded of the RadExpander). If you need ViewModel's code you can use Commands. Please let us know if you need further assistance on this.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>