XamlUIPresenter.ThemeKey 属性

定义

获取或设置字符串键,用于标识要从 ThemeResourcesXaml 使用的主题集。

public:
 property Platform::String ^ ThemeKey { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring ThemeKey();

void ThemeKey(winrt::hstring value);
public string ThemeKey { get; set; }
var string = xamlUIPresenter.themeKey;
xamlUIPresenter.themeKey = string;
Public Property ThemeKey As String

属性值

String

Platform::String

winrt::hstring

字符串键。

适用于