PageFunction<'T>.Return Event


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

member Return : IEvent<ReturnEventHandler<'T>,

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