Forum Xamarin.Forms


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

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.