Share via


IXRPopup::AddClosedEventHandler (Compact 2013)

3/28/2014

This method attaches a delegate to the Closed event for this popup. When the Closed event is raised by this popup, this delegate will be invoked.

Syntax

virtual HRESULT STDMETHODCALLTYPE AddClosedEventHandler(
    __in IXRDelegate<XREventArgs> *pDelegate
)= 0;

Parameters

Return Values

Returns a standard HRESULT value.

Remarks

The Closed event occurs when the IsOpen property is set to false.

Multiple delegates can be attached to the same event.

To remove this delegate from the Closed event, call IXRPopup::RemoveClosedEventHandler.

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h,
XRDelegate.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPopup
XREventArgs