XamlControlsResources.ControlsResourcesVersion Property
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.
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