다음을 통해 공유


XamlControlsResources.ControlsResourcesVersion 속성

정의

사용할 WinUI 컨트롤 스타일의 버전을 가져오거나 설정합니다.

이 설명서는 UWP용 WinUI 2에 적용됩니다(Windows 앱 SDKWinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

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

속성 값

사용할 WinUI 컨트롤 스타일의 버전입니다.

특성
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

적용 대상