CornerRadiusToThicknessConverterKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines constants that specify the filter type for a CornerRadiusToThicknessConverter instance.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public enum class CornerRadiusToThicknessConverterKind
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.Version(1)]
enum class CornerRadiusToThicknessConverterKind
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
enum class CornerRadiusToThicknessConverterKind
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Version(1)]
public enum CornerRadiusToThicknessConverterKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public enum CornerRadiusToThicknessConverterKind
Public Enum CornerRadiusToThicknessConverterKind
- Inheritance
-
CornerRadiusToThicknessConverterKind
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute VersionAttribute ContractVersionAttribute
Fields
Name | Value | Description |
---|---|---|
FilterTopAndBottomFromLeft | 0 | Filters TopLeft and BottomLeft values, sets TopRight and BottomRight to 0. |
FilterTopAndBottomFromRight | 1 | Filters TopRight and BottomRight values, sets TopLeft and BottomLeft to 0. |
FilterLeftAndRightFromTop | 2 | Filters TopLeft and TopRight values, sets BottomLeft and BottomRight to 0. |
FilterLeftAndRightFromBottom | 3 | Filters BottomLeft and BottomRight values, sets TopLeft and TopRight to 0. |
FilterTopFromTopLeft | 4 | |
FilterTopFromTopRight | 5 | |
FilterRightFromTopRight | 6 | |
FilterRightFromBottomRight | 7 | |
FilterBottomFromBottomRight | 8 | |
FilterBottomFromBottomLeft | 9 | |
FilterLeftFromBottomLeft | 10 | |
FilterLeftFromTopLeft | 11 |
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).