Dela via


RevealBrush.TargetTheme Property

Definition

Important

RevealBrush is available for use in the operating systems specified in the Requirements section. However, we do not recommend its use as it may be altered or unavailable in subsequent versions.

Gets or sets a value that specifies the theme used to draw the brush and light, to ensure that the correct composition effect recipe is used for the desired theme.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Media.RevealBrush.TargetTheme (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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

void TargetTheme(ApplicationTheme value);
public ApplicationTheme TargetTheme { get; set; }
var applicationTheme = revealBrush.targetTheme;
revealBrush.targetTheme = applicationTheme;
Public Property TargetTheme As ApplicationTheme

Property Value

An ApplicationTheme value.

Applies to