Share via


ControlsResourcesVersion Enum

Definition

Defines constants for specifying the version of WinUI control styles to use.

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

public enum class ControlsResourcesVersion
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 131072)]
enum class ControlsResourcesVersion
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 131072)]
public enum ControlsResourcesVersion
Public Enum ControlsResourcesVersion
Inheritance
ControlsResourcesVersion
Attributes

Fields

Name Value Description
Version1 1

Legacy style. This is the default.

Version2 2

Latest style.

Applies to

See also