Table of Contents

Class NavigationMenuAction

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll
[DefaultTrigger(typeof(FrameworkElement), typeof(EventTrigger), "Loaded")]
[DefaultTrigger(typeof(ButtonBase), typeof(EventTrigger), "Loaded")]
public sealed class NavigationMenuAction : TargetedTriggerAction<FrameworkElement>, IAnimatable, IAttachedObject
Inheritance
NavigationMenuAction
Implements
Inherited Members
Extension Methods

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()

When implemented in a derived class, creates a new instance of the Freezable derived class.

protected override Freezable CreateInstanceCore()

Returns

Freezable

The new instance.

Invoke(object)

Invokes the action.

protected override void Invoke(object parameter)

Parameters

parameter object

The parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference.

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.