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

How to set AbsoluteLayout.LayoutBounds OnPlatform in XAML file?

$
0
0

How to set AbsoluteLayout.LayoutBounds OnPlatform in XAML file?

I have tried to do like this:

<AbsoluteLayout>
    <Label>
        <AbsoluteLayout.LayoutBounds>
             <OnPlatform x:TypeArguments="Rectangle" iOS="..." Android="..." /> 
            </AbsoluteLayout.LayoutBounds>
    </Label>
</AbsoluteLayout>

but it doesn't work


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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