FragmentNavigationEventArgs.Handled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the fragment navigation has been handled.
public:
property bool Handled { bool get(); void set(bool value); };
public bool Handled { get; set; }
member this.Handled : bool with get, set
Public Property Handled As Boolean
Property Value
true
if the navigation has been handled; otherwise, false
.
Remarks
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.
Applies to
.NET