Partager via


IXRPopup::AddOpenedEventHandler (Compact 2013)

3/28/2014

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

Syntax

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

Parameters

Return Values

Returns a standard HRESULT value.

Remarks

The Opened event occurs when the IsOpen property is set to true.

Multiple delegates can be attached to the same event.

To remove this delegate from the Opened event, call IXRPopup::RemoveOpenedEventHandler.

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h,
XRDelegate.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPopup
XREventArgs