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.

FragmentNavigationEventArgs Class

Provides data for the FragmentNavigation event.

Namespace: System.Windows.Navigation
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public class FragmentNavigationEventArgs : EventArgs
public class FragmentNavigationEventArgs extends EventArgs
public class FragmentNavigationEventArgs extends EventArgs
You cannot use this managed class in XAML.

T These event arguments contain information about the content fragment that is being navigated to, and are passed to handlers of the FragmentNavigation event, which is implemented by the following:

By default, a content fragment is content that is contained by a named UIElement, which is a UIElement whose Name attribute is set, eg:

<TextBlock Name="FragmentName">...</TextBlock>

You navigate to a XAML fragment by providing a URI with a suffix in the following format:

#FragmentName

The following shows an example of a URI that refers to a content fragment:

#FragmentName

You can handle the FragmentNavigation event and use FragmentNavigationEventArgs to implement a custom content fragment handling implementation.

System.Object
   System.EventArgs
    System.Windows.Navigation.FragmentNavigationEventArgs

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft