Class NavigationMenuAction
[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
InactiveState
public string InactiveState { get; set; }
Property Value
TargetScreen
public string TargetScreen { get; set; }
Property Value
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
FrameworkElementnewTarget
FrameworkElement
Exceptions
- InvalidOperationException
Could not locate an appropriate FrameworkElement with states.