Class NavigationMenuAction
[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
InactiveStateProperty
public static readonly DependencyProperty InactiveStateProperty
Field Value
TargetScreenProperty
public static readonly DependencyProperty TargetScreenProperty
Field Value
Properties
ActiveState
public string ActiveState { get; set; }
Property Value
InactiveState
public string InactiveState { get; set; }
Property Value
TargetScreen
public string TargetScreen { get; set; }
Property Value
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
objectThe 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
FrameworkElementnewTarget
FrameworkElement
Exceptions
- InvalidOperationException
Could not locate an appropriate FrameworkElement with states.