[forms-devel] OnPlatform in XAML as Binding extension
daniel at hindrikes.se
daniel at hindrikes.se
Wed Sep 21 19:34:28 UTC 2016
Hi,
What do you think about having on platform as a markup
extension?
So you can write like this: <Grid Padding="{OnPlatform
iOS=10, Android=5, Windows=20}">
And with a default property we can
write like this: <Grid Padding="{OnPlatform 10, Windows=20}">
I would
love to have it that way!
It will make it much easier to use
OnPlatform in XAML than the way we use it today.
Best regards,
Daniel Hindrikes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/forms-devel/attachments/20160921/9910dab6/attachment.html>
More information about the forms-devel
mailing list