Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HardwareButtons class

Applies to Windows Phone only

Provides access to the phone's hardware buttons.

Syntax


public ref class HardwareButtons abstract sealed 

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The HardwareButtons class has these types of members:

Events

The HardwareButtons class has these events.

EventDescription
BackPressed Occurs when the user presses the hardware Back button.
CameraHalfPressed Occurs when the user presses the hardware camera button halfway.
CameraPressed Occurs when the user presses the hardware camera button.
CameraReleased Occurs when the user releases the hardware camera button.

 

Remarks

Windows Phone 8

This API is supported in native apps only.

Requirements

Minimum supported client

None supported [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.UI.Input
Windows::Phone::UI::Input [C++]

Metadata

Windows.winmd

See also

Object

 

 

Community Additions

Show:
© 2014 Microsoft