Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PageFunction<T>::Return Event

 

Occurs when a called PageFunction<T> returns, and can only be handled by the calling page.

Namespace:   System.Windows.Navigation
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
event ReturnEventHandler<T>^ Return {
	void add(ReturnEventHandler<T>^ value);
	void remove(ReturnEventHandler<T>^ value);
}

A calling page detects when a called PageFunction<T> returns by handling Return. Additionally, the calling page can retrieve the PageFunction<T> return value from the Result property of the ReturnEventArgs<T> which is passed to the event handler.

<object Return="ReturnEventHandler"/>

The following example shows how to handle the Return event.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft