次の方法で共有


IXRButtonBase::GetClickMode (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRButtonBase
IXRButtonBase::SetClickMode