title: Platform specific CornerRadius on <Frame> Xamarin.Forms
body: <p>I'm trying to assign different <code>CornerRadius</code> on <code>iOS</code> and <code>Android</code> like following:</p>
  
  <pre><code>&lt;Frame
      HasShadow="false"
      Padding="10"
      BackgroundColor="Red"&gt;
      &lt;Frame.CornerRadius&gt;
          &lt;OnPlatform x:TypeArguments="x:Double"&gt;
              &lt;On
                  Platform="iOS"&gt;20&lt;/On&gt;
              &lt;On
                  Platform="Android"&gt;30&lt;/On&gt;
          &lt;/OnPlatform&gt;
      &lt;/Frame.CornerRadius&gt;
      &lt;Label
          Text="Hello World" /&gt;
  &lt;/Frame&gt;
  </code></pre>
  
  <p>But getting a </p>
  
  <blockquote>
    <p>Cannot assign property "CornerRadius": Property does not exists, or is not assignable, or mismatching type between value and property</p>
  </blockquote>
  
  <p>I've tried <code>x:TypeArguments="Thickness"</code> and <code>x:TypeArguments="x:Int32"</code>. Decompiling the Assembly it appears <code>CornerRadius</code> is of type <code>float</code>. However, there is no <code>Float</code> property in <code>x namespace</code>, I mean <code>x:TypeArguments="x:Float"</code> doesn't exists.</p>
  
  <p>Any ideas what I'm doing wrong or this is a bug?</p>