How can I change the binding for template elements at runtime?

Posted by Koynov on Stack Overflow See other posts from Stack Overflow or by Koynov
Published on 2010-05-25T13:28:46Z Indexed on 2010/05/25 13:31 UTC
Read the original article Hit count: 152

Filed under:
|
|

I've found few solutions which assumes that I have 2 or 3 binding objects(or data templates) - that is not good solution for me. Is there an easy way to do this? I can think of cycling through the visual tree and set the binding that way but still this solution doesn't look very neat.

Thank you in advance.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about Silverlight