Table of Contents

Class XamlLessNavigatingCancelEventArgs

Namespace
WindowSill.API
Assembly
WindowSill.API.dll

Provides event data for navigation events that can be cancelled, allowing handlers to inspect navigation details and optionally prevent the navigation from occurring.

public class XamlLessNavigatingCancelEventArgs : EventArgs
Inheritance
XamlLessNavigatingCancelEventArgs
Inherited Members
Extension Methods

Properties

Cancel

Gets or sets a value indicating whether the navigation should be cancelled.

public bool Cancel { get; set; }

Property Value

bool

NavigationMode

Gets the navigation mode that describes how the navigation was initiated.

public NavigationMode NavigationMode { get; }

Property Value

NavigationMode

Parameter

Gets the parameter object passed to the navigation operation, if any.

public object? Parameter { get; }

Property Value

object

SourcePageType

Gets the type of the page being navigated to.

public Type SourcePageType { get; }

Property Value

Type