Share via


XamlControlsResources.Version Property

Definition

Gets or sets the version of styles to apply to XAML controls.

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

public:
 property StylesVersion Version { StylesVersion get(); void set(StylesVersion value); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::StylesVersion::Latest")]
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::StylesVersion::Latest")]
/// [get: Windows.Foundation.Metadata.Experimental]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::StylesVersion::Latest")]
/// [set: Windows.Foundation.Metadata.Experimental]
StylesVersion Version();

void Version(StylesVersion value);
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::StylesVersion::Latest")]
[Windows.Foundation.Metadata.Experimental]
public StylesVersion Version { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::StylesVersion::Latest")] [Windows.Foundation.Metadata.Experimental] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::StylesVersion::Latest")] [Windows.Foundation.Metadata.Experimental] set; }
Public Property Version As StylesVersion

Property Value

The version of styles to apply to XAML controls.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute ExperimentalAttribute

Applies to