Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Binding and x:Reference

$
0
0

Hi Folks,

Sometimes I want a binding of an attribute to refer to some property of a named element. I can bind some other element's TextSize property to that element by using BindingContext="{x:Reference buttonName}" and FontSize="{Binding TextSize}" (custom control properties).

Is it possible to bind a 2nd attribute of that same button to something else entirely?

Thanks!
Mike


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>