Class InputBindingTrigger
public class InputBindingTrigger : TriggerBase<FrameworkElement>, IAnimatable, IAttachedObject, ICommand
- Inheritance
-
TriggerBaseTriggerBase<FrameworkElement>InputBindingTrigger
- Implements
-
IAttachedObject
- Inherited Members
-
TriggerBase<FrameworkElement>.AssociatedObjectTriggerBase<FrameworkElement>.AssociatedObjectTypeConstraintTriggerBase.ActionsPropertyTriggerBase.OnDetaching()TriggerBase.CreateInstanceCore()TriggerBase.Detach()TriggerBase.ActionsTriggerBase.PreviewInvoke
Fields
InputBindingProperty
public static readonly DependencyProperty InputBindingProperty
Field Value
Properties
InputBinding
public InputBinding InputBinding { get; set; }
Property Value
Methods
CanExecute(object)
Defines the method that determines whether the command can execute in its current state.
public bool CanExecute(object parameter)
Parameters
parameter
objectData used by the command. If the command does not require data to be passed, this object can be set to null.
Returns
- bool
true if this command can be executed; otherwise, false.
Execute(object)
Defines the method to be called when the command is invoked.
public void Execute(object parameter)
Parameters
parameter
objectData used by the command. If the command does not require data to be passed, this object can be set to null.
OnAttached()
protected override void OnAttached()
Events
CanExecuteChanged
Occurs when changes occur that affect whether or not the command should execute.
public event EventHandler CanExecuteChanged