Share via


RevealBrush.GetState(UIElement) 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.

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

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

public:
 static RevealBrushState GetState(UIElement ^ element);
 static RevealBrushState GetState(UIElement const& element);
public static RevealBrushState GetState(UIElement element);
function getState(element)
Public Shared Function GetState (element As UIElement) As RevealBrushState

Parameters

element
UIElement

The object from which the property value is read.

Returns

The RevealBrush.State XAML attached property value of the specified object.

Applies to

See also