This documentation is archived and is not being maintained.

NavigatingCancelEventArgs.ExtraData Property

Gets the optional data Object that was passed when navigation commenced.

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

public Object ExtraData { get; }
/** @property */
public Object get_ExtraData ()

public function get ExtraData () : Object

Members of this class are either not typically used in XAML, or cannot be used in XAML.

Property Value

The optional data Object that was passed when navigation commenced.

ExtraData can be used to pass context-specific data that is specific to a particular navigation. ExtraData contains a reference to the object that is passed as the second argument when calling either System.Windows.Navigation.NavigationService.Navigate or System.Windows.Navigation.NavigationService.Navigate. Otherwise, it is a null reference (Nothing in Visual Basic).

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0