In order to control the Geometry
property in your ViewModel you can expose a string property and bind it in a Style
Please give this approach a try and let us know if you need any further assistance.
Pavel R. Pavlov
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>