NavigationTransitionInfo NavigationTransitionInfo NavigationTransitionInfo Class

Provides parameter info for the Navigate(TypeName, Object, NavigationTransitionInfo) method. Controls how the transition animation runs during the navigation action.

Syntax

Declaration

public class NavigationTransitionInfopublic class NavigationTransitionInfoPublic Class NavigationTransitionInfo

Inheritance Hierarchy

Remarks

For Windows Phone Store app, several derived types (CommonNavigationTransitionInfo, ContinuumNavigationTransitionInfo, SlideNavigationTransitionInfo ) can be used in XAML to fill the DefaultNavigationTransitionInfo property.

Constructors summary

Initializes a new instance of the NavigationTransitionInfo class.

Methods summary

When implemented in a derived class, gets the navigation state string that is reported for navigation actions through Navigate(TypeName) and similar API.

When implemented in a derived class, sets the navigation state string that is passed for navigation actions through Navigate(TypeName) and similar API.

Constructors

  • NavigationTransitionInfo()
    NavigationTransitionInfo()
    NavigationTransitionInfo()
    NavigationTransitionInfo()

    Initializes a new instance of the NavigationTransitionInfo class.

    protected NavigationTransitionInfo()protected New()Protected Sub New()protected NavigationTransitionInfo()

Methods

  • GetNavigationStateCore()
    GetNavigationStateCore()
    GetNavigationStateCore()
    GetNavigationStateCore()

    When implemented in a derived class, gets the navigation state string that is reported for navigation actions through Navigate(TypeName) and similar API.

    protected virtual string GetNavigationStateCore()protected virtual string GetNavigationStateCore()Protected Overridable Function GetNavigationStateCore() As stringprotected virtual string GetNavigationStateCore()

    Returns

    • string
      string
      string

      The string to use for navigation state info.

  • SetNavigationStateCore(String)
    SetNavigationStateCore(String)
    SetNavigationStateCore(String)
    SetNavigationStateCore(String)

    When implemented in a derived class, sets the navigation state string that is passed for navigation actions through Navigate(TypeName) and similar API.

    protected virtual void SetNavigationStateCore(String navigationState)protected virtual void SetNavigationStateCore(String navigationState)Protected Overridable Function SetNavigationStateCore(navigationState As String) As voidprotected virtual void SetNavigationStateCore(String navigationState)

    Parameters

    • navigationState
      System.String
      System.String
      System.String

      The string to use for navigation state info.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ComposableAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Media.Animation.dll