Setter with Binding


Is it possible to have a Setter with the Value property set to a binding?
If it is possible, can you code it programmatically?

I have a multitrigger whcih works fine but then I want to set the value to a calculated value.


TriggerConditions went fine then:

Setter Property="MyCustomProperty" Value="Binding or command to calculate the value"

I have tried different hacky ways but with no success. A calculation method should be called and use some properties of the custom control to calculate the value.


Sign In or Register to comment.