/// <summary>
 /// Initializes a new instance of the <see cref="NavigationServiceNavigationEventArgs"/> class.
 /// </summary>
 /// <param name="navigationMode">A value that indicates the direction of movement during navigation.</param>
 /// <param name="sourcePageType">The data type of the source page.</param>
 /// <param name="parameter">Any Parameter object passed to the target page for the navigation.</param>
 /// <param name="uri">The Uniform Resource Identifier (URI) of the target.</param>
 public NavigationServiceNavigationEventArgs(NavigationServiceNavigationMode navigationMode, Type sourcePageType, object parameter, Uri uri)
 {
     NavigationMode = navigationMode;
     SourcePageType = sourcePageType;
     Parameter = parameter;
     Uri = uri;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NavigationServiceNavigationEventArgs"/> class.
 /// </summary>
 /// <param name="navigationMode">A value that indicates the direction of movement during navigation.</param>
 /// <param name="sourcePageType">The data type of the source page.</param>
 /// <param name="parameter">Any Parameter object passed to the target page for the navigation.</param>
 /// <param name="uri">The Uniform Resource Identifier (URI) of the target.</param>
 public NavigationServiceNavigationEventArgs(NavigationServiceNavigationMode navigationMode, Type sourcePageType, object parameter, Uri uri)
 {
     NavigationMode = navigationMode;
     SourcePageType = sourcePageType;
     Parameter      = parameter;
     Uri            = uri;
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NavigationServiceNavigatingCancelEventArgs"/> class.
 /// </summary>
 /// <param name="navigationMode">A value that indicates the direction of movement during navigation.</param>
 /// <param name="sourcePageType">The data type of the source page.</param>
 /// <param name="parameter">Any Parameter object passed to the target page for the navigation.</param>
 /// <param name="uri">The Uniform Resource Identifier (URI) of the target.</param>
 /// <param name="isCancelable">A value that indicates whether the navigation is cancelable.</param>
 public NavigationServiceNavigatingCancelEventArgs(NavigationServiceNavigationMode navigationMode, Type sourcePageType, object parameter, Uri uri, bool isCancelable)
 {
     NavigationMode = navigationMode;
     SourcePageType = sourcePageType;
     Parameter      = parameter;
     Uri            = uri;
     IsCancelable   = isCancelable;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="NavigationServiceNavigatingCancelEventArgs"/> class.
 /// </summary>
 /// <param name="navigationMode">A value that indicates the direction of movement during navigation.</param>
 /// <param name="sourcePageType">The data type of the source page.</param>
 /// <param name="parameter">Any Parameter object passed to the target page for the navigation.</param>
 /// <param name="uri">The Uniform Resource Identifier (URI) of the target.</param>
 /// <param name="isCancelable">A value that indicates whether the navigation is cancelable.</param>
 public NavigationServiceNavigatingCancelEventArgs(NavigationServiceNavigationMode navigationMode, Type sourcePageType, object parameter, Uri uri, bool isCancelable)
 {
     NavigationMode = navigationMode;
     SourcePageType = sourcePageType;
     Parameter = parameter;
     Uri = uri;
     IsCancelable = isCancelable;
 }