Share via


IXRButtonBase::GetClickMode (Compact 2013)

3/28/2014

This method retrieves a value that specifies the action that raises the Click event for this button control.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetClickMode(
    XRClickMode *pClickModeProperty
) = 0;

Parameters

  • pClickModeProperty
    [out] Pointer to an XRClickMode member that specifies the action that raises the Click event for this button control.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

You can use this method to learn what kind of user interaction is required to raise a Click event. When the click mode for the button is XRClickMode_Hover, the Click event cannot be raised by using the keyboard.

.NET Framework Equivalent

System.Windows.Controls.Primitives.ButtonBase.ClickMode

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRButtonBase
IXRButtonBase::SetClickMode