Table of Contents

Class NavigationMenuAction

Namespace
Microsoft.Xaml.Behaviors.Core
Assembly
Microsoft.Xaml.Behaviors.dll
[DefaultTrigger(typeof(FrameworkElement), typeof(EventTrigger), "Loaded")]
[DefaultTrigger(typeof(ButtonBase), typeof(EventTrigger), "Loaded")]
public sealed class NavigationMenuAction : TargetedTriggerAction<FrameworkElement>, IAttachedObject
Inheritance
TargetedTriggerAction<FrameworkElement>
NavigationMenuAction
Implements
Inherited Members

Constructors

NavigationMenuAction()

public NavigationMenuAction()

Fields

ActiveStateProperty

public static readonly DependencyProperty ActiveStateProperty

Field Value

DependencyProperty

InactiveStateProperty

public static readonly DependencyProperty InactiveStateProperty

Field Value

DependencyProperty

TargetScreenProperty

public static readonly DependencyProperty TargetScreenProperty

Field Value

DependencyProperty

Properties

ActiveState

public string ActiveState { get; set; }

Property Value

string

InactiveState

public string InactiveState { get; set; }

Property Value

string

TargetScreen

public string TargetScreen { get; set; }

Property Value

string

Methods

CreateInstanceCore()

protected override Freezable CreateInstanceCore()

Returns

Freezable

Invoke(object)

protected override void Invoke(object parameter)

Parameters

parameter object

OnTargetChanged(FrameworkElement, FrameworkElement)

Called when the target changes. If the TargetName property isn't set, this action has custom behavior.

protected override void OnTargetChanged(FrameworkElement oldTarget, FrameworkElement newTarget)

Parameters

oldTarget FrameworkElement
newTarget FrameworkElement

Exceptions

InvalidOperationException

Could not locate an appropriate FrameworkElement with states.