Compartilhar via


XRClickMode (Compact 2013)

3/28/2014

This enumeration specifies when the Click event should be raised for a control.

Syntax

enum XRClickMode{
    XRClickMode_Release, 
    XRClickMode_Press, 
    XRClickMode_Hover,
};

Members

  • XRClickMode_Release
    Specifies that the Click event is raised when the left mouse button is pressed and released, and the mouse pointer is over the control. If you are using the keyboard, specifies that the Click event is raised when the SPACEBAR or ENTER key is pressed and released, and the control has keyboard focus.
  • XRClickMode_Press
    Specifies that the Click event is raised when the mouse button is pressed and the mouse pointer is over the control. If you are using the keyboard, specifies that the Click event is raised when the SPACEBAR or ENTER key is pressed and the control has keyboard focus.
  • XRClickMode_Hover
    Specifies that the Click event is raised when the mouse pointer moves over the control.

.NET Framework Equivalent

System.Windows.Controls.ClickMode

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Enumerations
IXRButtonBase::GetClickMode
IXRButtonBase::SetClickMode