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).

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 131072)]
public enum ControlsResourcesVersion
Inheritance
ControlsResourcesVersion
Attributes

Fields

Name Value Description
Version1 1

Legacy style. This is the default.

Version2 2

Latest style.

Applies to

Product Versions
WinUI 2 2.6-prerelease, 2.6, 2.7-prerelease, 2.7, 2.8-prerelease, 2.8

See also