IXRButtonBase::SetClickMode (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetClickMode(
    XRClickMode ClickModeProperty
) = 0;

Parameters

  • ClickModeProperty
    [in] 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 set the user interaction that 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::GetClickMode