in my Xamarin.Forms cross-platform project I'm using a Button with Text and Icon.
The attribut <ContentLayout="Right,100"> works fine on Android but I want to change the Value on iOS.
So I try something like that:
<Button.ContentLayout> <OnPlatform x:TypeArguments="???" Android="Right,100" WinPhone="Right,100" iOS="Right,50" /> </Button.ContentLayout>
But I don't know what to insert as TypeArgument? I'm often on this problem and have to google what to insert here. Is there any overview with all TypeArguments?
Btw. is it correct that WinPhone can't handle this attribut? because even with <ContentLayout="Right,100"> it's align the items from left not from right and with ugly spacing between.