NavigationEventArgs.ExtraData Property

 

Gets an optional user-defined data object.

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

Public ReadOnly Property ExtraData As Object

Property Value

Type: System.Object

The data object.

When you call Navigate to navigate to a new page, you have the option of passing the method a user-defined data object. That object is then assigned to this property so that you have easy access to the data when you handle the Navigate event.

.NET Framework
Available since 3.0
Return to top
Show: