Export (0) Print
Expand All

NavigationEventArgs.ExtraData Property

Gets an optional user-defined data object.

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

public Object ExtraData { get; }

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft