XamlControlsResources.Version 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 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