Share via


XamlControlsResources.Version プロパティ

定義

XAML コントロールに適用するスタイルのバージョンを取得または設定します。

このドキュメントは、UWP 用 WinUI 2 に適用されます (Windows アプリ SDKWinUI については、Windows アプリ SDK名前空間を参照してください)。

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

プロパティ値

XAML コントロールに適用するスタイルのバージョン。

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute ExperimentalAttribute

適用対象