NavigateToPageAction Class

Makes the attached element switch to a different XAML page when clicked on.

Namespace: Microsoft.Expression.Interactivity.Core
Assembly: Microsoft.Expression.Interactions (in microsoft.expression.interactions.dll)

Syntax

'Declaration
<DefaultTriggerAttribute(GetType(UIElement), GetType(EventTrigger), "MouseLeftButtonDown")> _
<DefaultTriggerAttribute(GetType(ButtonBase), GetType(EventTrigger), "Click")> _
Public Class NavigateToPageAction
    Inherits TargetedTriggerAction(Of FrameworkElement)
'Usage
Dim instance As NavigateToPageAction
[DefaultTriggerAttribute(typeof(UIElement), typeof(EventTrigger), "MouseLeftButtonDown")] 
[DefaultTriggerAttribute(typeof(ButtonBase), typeof(EventTrigger), "Click")] 
public class NavigateToPageAction : TargetedTriggerAction<FrameworkElement>
[DefaultTriggerAttribute(typeof(UIElement), typeof(EventTrigger), L"MouseLeftButtonDown")] 
[DefaultTriggerAttribute(typeof(ButtonBase), typeof(EventTrigger), L"Click")] 
public ref class NavigateToPageAction : public TargetedTriggerAction<FrameworkElement^>

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
     System.Windows.Interactivity.TriggerAction
       System.Windows.Interactivity.TargetedTriggerAction
         System.Windows.Interactivity.TargetedTriggerAction
          Microsoft.Expression.Interactivity.Core.NavigateToPageAction

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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

NavigateToPageAction Members
Microsoft.Expression.Interactivity.Core Namespace