ButtonBase.IsPressed property

Applies to Windows and Windows Phone

Gets a value that indicates whether a ButtonBase is currently in a pressed state.

Syntax


public bool IsPressed { get; }

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

True if the ButtonBase is in a pressed state; otherwise false. The default is false.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls.Primitives
Windows::UI::Xaml::Controls::Primitives [C++]

Metadata

Windows.winmd

See also

ButtonBase

 

 

Show:
© 2014 Microsoft