Share via


NavigateToPageAction Class

Represents an action that switches the current visual to the specified Page.

Inheritance Hierarchy

System.Object
  DependencyObject
    Microsoft.Xaml.Interactions.Core.NavigateToPageAction

Namespace:  Microsoft.Xaml.Interactions.Core
Assembly:  Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)

Syntax

'Declaration
Public NotInheritable Class NavigateToPageAction _
    Inherits DependencyObject _
    Implements IAction
public sealed class NavigateToPageAction : DependencyObject, 
    IAction
public ref class NavigateToPageAction sealed : public DependencyObject, 
    IAction
[<Sealed>]
type NavigateToPageAction =  
    class 
        inherit DependencyObject 
        interface IAction 
    end
public final class NavigateToPageAction extends DependencyObject implements IAction

The NavigateToPageAction type exposes the following members.

Constructors

  Name Description
Public method NavigateToPageAction Initializes a new instance of the NavigateToPageAction class.

Top

Properties

  Name Description
Public property Dispatcher (Inherited from DependencyObject.)
Public property Parameter Gets or sets the parameter which will be passed to the Navigate method.
Public property TargetPage Gets or sets the fully qualified name of the Page to navigate to. This is a dependency property.

Top

Methods

  Name Description
Public method ClearValue (Inherited from DependencyObject.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Execute Executes the action.
Public method GetAnimationBaseValue (Inherited from DependencyObject.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue (Inherited from DependencyObject.)
Public method ReadLocalValue (Inherited from DependencyObject.)
Public method SetValue (Inherited from DependencyObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member ParameterProperty Specifies the parameter which will be passed to the Navigate method.
Public fieldStatic member TargetPageProperty Specifies the fully qualified name of the Page to navigate to.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Xaml.Interactions.Core Namespace