RevealBrush.TargetTheme プロパティ

定義

重要

RevealBrush は、「要件」セクションで指定されたオペレーティング システムで使用できます。 ただし、以降のバージョンでは変更または使用できなくなる可能性があるため、使用しないことをお勧めします。

ブラシとライトの描画に使用するテーマを指定する値を取得または設定し、目的のテーマに適切な合成効果レシピが使用されるようにします。

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

public:
 property ApplicationTheme TargetTheme { ApplicationTheme get(); void set(ApplicationTheme value); };
ApplicationTheme TargetTheme();

void TargetTheme(ApplicationTheme value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ApplicationTheme::Light")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ApplicationTheme::Light")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ApplicationTheme::Light")]
ApplicationTheme TargetTheme();

void TargetTheme(ApplicationTheme value);
public ApplicationTheme TargetTheme { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ApplicationTheme::Light")]
public ApplicationTheme TargetTheme { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ApplicationTheme::Light")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ApplicationTheme::Light")] set; }
Public Property TargetTheme As ApplicationTheme

プロパティ値

ApplicationTheme 値。

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用対象