Edit

Share via


FragmentNavigationEventArgs.Handled Property

Definition

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