Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.4 KB

cornerradiustothicknessconverter.md

File metadata and controls

30 lines (18 loc) · 1.4 KB
-api-id -api-type
T:Microsoft.UI.Xaml.Controls.Primitives.CornerRadiusToThicknessConverter
winrt class

Microsoft.UI.Xaml.Controls.Primitives.CornerRadiusToThicknessConverter

-description

Converts a CornerRadius to Thickness and also applies filters to extract only the specified fields, leaving the others set to 0.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

-remarks

-see-also

-examples

See the XAML Controls Gallery sample app for examples of WinUI features and controls.

If you have the XAML Controls Gallery app installed, open the app to see the controls in action.

If you don't have the XAML Controls Gallery app installed, get the WinUI 2.x version from the Microsoft Store.

You can also view, clone, and build the XAML Controls Gallery source code from GitHub (switch to the WinUI 3 Preview branch for WinUI 3 Preview controls and features).