I'm trying to understand why this snippet is throwing a XAML parse error at runtime:
<Style x:Key="MyButton" TargetType="Button">
<Setter Property="BackgroundColor" Value="Transparent"/>
<Setter Property="FontSize" Value="36" />
<Setter Property="BorderWidth">
<Setter.Value>
<OnPlatform x:TypeArguments="x:Double">
<OnPlatform.iOS Value="2" />
<OnPlatform.Android Value="0" />
</OnPlatform>
</Setter.Value>
</Setter>
</Style>
What's wrong with this syntax, the exception doesn't give me any details.