Share via


RevealBrushState Enum

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.

Defines constants that specify the pointer state of an element.

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

public enum class RevealBrushState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum class RevealBrushState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum RevealBrushState
var value = Windows.UI.Xaml.Media.RevealBrushState.normal
Public Enum RevealBrushState
Inheritance
RevealBrushState
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Fields

Name Value Description
Normal 0

The element is in its default state.

PointerOver 1

The pointer is over the element.

Pressed 2

The element is pressed.

Applies to