Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Setter with Binding

Hi,

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.

So,

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.

Thanks

Sign In or Register to comment.