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 a target element.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Media.RevealBrush.SetState(Windows.UI.Xaml.UIElement,Microsoft.UI.Xaml.Media.RevealBrushState) (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);
function setState(element, value)
Public Shared Sub SetState (element As UIElement, value As RevealBrushState)

Parameters

element
UIElement

The object to which the property value is written.

value
RevealBrushState

The value to set.

Applies to

See also