XamlControlsResources.Version Eigenschaft

Definition

Ruft die Version von Formatvorlagen ab, die auf XAML-Steuerelemente angewendet werden sollen, oder legt diese fest.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die 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

Eigenschaftswert

Die Version von Formatvorlagen, die auf XAML-Steuerelemente angewendet werden sollen.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute ExperimentalAttribute

Gilt für: