Is there a way to create float resource in XAML? I wanted to define CornerRadius as a resource so I can use it throughout the app, but I was not able to find the type. My current workaround is to assign it from the code to the App's resources after component initialization.
<x:Single x:Key="myCornerRadius">12.2</x:Single> should do it
Most helpful comment
<x:Single x:Key="myCornerRadius">12.2</x:Single>should do it