FragmentNavigationEventArgs::Handled Property

 

Gets or sets a value that indicates whether the fragment navigation has been handled.

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

public:
property bool Handled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the navigation has been handled; otherwise, false.

If Handled is set to false, the system attempts to find an element with the name of the fragment and bring it into view.

When you handle the FragmentNavigation event and use FragmentNavigationEventArgs to implement a custom content fragment handling implementation, you need to set Handled is set to true to override the default behavior.

.NET Framework
Available since 3.0
Return to top
Show: