IXRButtonBase::RemoveClickEventHandler (Compact 2013)
3/28/2014
This method removes a delegate from the Click event for this button control.
Syntax
virtual HRESULT STDMETHODCALLTYPE RemoveClickEventHandler(
IXRDelegate<XRMouseButtonEventArgs>* pDelegate
) = 0;
Parameters
- pDelegate
[in] IXRDelegate<ArgType, [SenderType]> object that was passed into IXRButtonBase::AddClickEventHandler that you want to remove from the Click event, which is raised when the user clicks a button control.
Return Value
Returns an HRESULT that indicates success or failure.
Returns XR_E_INVALID_OBJECT if pDelegate is not a XAML for Windows Embedded object.
.NET Framework Equivalent
None.
Requirements
Header |
XamlRuntime.h, |
sysgen |
SYSGEN_XAML_RUNTIME |