Bagikan melalui


XamlControlsResources.ControlsResourcesVersion Properti

Definisi

Mendapatkan atau mengatur versi gaya kontrol WinUI untuk digunakan.

Dokumentasi ini berlaku untuk WinUI 2 untuk UWP (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).

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

Nilai Properti

Versi gaya kontrol WinUI yang akan digunakan.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Berlaku untuk