XamlControlsResources.ControlsResourcesVersion Property

Definition

Gets or sets 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:
 property ControlsResourcesVersion ControlsResourcesVersion { ControlsResourcesVersion get(); void set(ControlsResourcesVersion value); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ControlsResourcesVersion::Version2")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ControlsResourcesVersion::Version2")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ControlsResourcesVersion::Version2")]
ControlsResourcesVersion ControlsResourcesVersion();

void ControlsResourcesVersion(ControlsResourcesVersion value);
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ControlsResourcesVersion::Version2")]
public ControlsResourcesVersion ControlsResourcesVersion { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ControlsResourcesVersion::Version2")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ControlsResourcesVersion::Version2")] set; }
Public Property ControlsResourcesVersion As ControlsResourcesVersion

Property Value

The version of WinUI control styles to use.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to