Binding Setter.Value from code
Posted
by chaiguy
on Stack Overflow
See other posts from Stack Overflow
or by chaiguy
Published on 2010-06-13T00:59:10Z
Indexed on
2010/06/13
1:02 UTC
Read the original article
Hit count: 489
In XAML I can write something like this:
<Setter Property="PropertyName" Value="{Binding ...}" />
How would I do this in code? I've constructed bindings in code before, but I can't seem to find any static ValueProperty
object on the Setter
class to pass to BindingOperations.SetBinding()
.
© Stack Overflow or respective owner