Changing the path a property is bound to at runtime
Posted
by Dave Colwell
on Stack Overflow
See other posts from Stack Overflow
or by Dave Colwell
Published on 2010-04-21T07:07:31Z
Indexed on
2010/04/21
7:13 UTC
Read the original article
Hit count: 268
Hi,
I have a ComboBox with a list of objects bound to it. Currently i have the items templated so they show only the property Class.Name. so the ComboBox is full of Class.Name However i am required to give the user the option to display the property Class.Description instead. If it were just that easy i would be fine, but they want the option to switch back and forth between them at runtime.
Any ideas?
© Stack Overflow or respective owner