Share via


RevealBrush.SetState(UIElement, RevealBrushState) Method

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.

Sets the value of the RevealBrush.State XAML attached property for the target element.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 static void SetState(UIElement ^ element, RevealBrushState value);
 static void SetState(UIElement const& element, RevealBrushState const& value);
public static void SetState(UIElement element, RevealBrushState value);
Public Shared Sub SetState (element As UIElement, value As RevealBrushState)

Parameters

element
UIElement

The object for which the property value is set.

value
RevealBrushState

One of the values from the enumeration.

Applies to

See also