KeyEventToCommand Properties |
The KeyEventToCommand type exposes the following members.
Name | Description | |
---|---|---|
![]() | AssociatedKeys | Gets or sets the associated keys. |
![]() | AssociatedObject |
Gets the object to which this TriggerAction is attached.
(Inherited from TriggerActionFrameworkElement.) |
![]() | AssociatedObjectTypeConstraint |
Gets the associated object type constraint.
(Inherited from TriggerActionFrameworkElement.) |
![]() | BindCanExecuteToIsEnabled | Gets or sets a value indicating whether the attached element must be disabled when the Command property's
CanExecuteChanged event fires. If this property is true, and the command's CanExecute method returns false, the element will be disabled. If
this property is false, the element will not be disabled when the command's CanExecute method changes. This is a DependencyProperty. (Inherited from EventToCommand.) |
![]() | BindCanExecuteToIsEnabledValue | Gets or sets a value indicating whether the attached element must be disabled when the Command property's
CanExecuteChanged event fires. If this property is true, and the command's CanExecute method returns false, the element will be disabled.
This property is here for compatibility with the Silverlight version. This is NOT a DependencyProperty. For data binding, use the
BindCanExecuteToIsEnabled property. (Inherited from EventToCommand.) |
![]() | CanFreeze | Gets a value that indicates whether the object can be made unmodifiable. (Inherited from Freezable.) |
![]() | Command | Gets or sets the ICommand that this trigger is bound to. This is a DependencyProperty. (Inherited from EventToCommand.) |
![]() | CommandParameter | Gets or sets an object that will be passed to the Command attached to this trigger. This is a DependencyProperty.
(Inherited from EventToCommand.) |
![]() | CommandParameterValue | Gets or sets an object that will be passed to the Command attached to this trigger. This property is here for
compatibility with the Silverlight version. This is NOT a DependencyProperty. For data binding, use the CommandParameter
property. (Inherited from EventToCommand.) |
![]() | DependencyObjectType | Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.) |
![]() | Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) |
![]() | HasAnimatedProperties | Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object's dependency properties. (Inherited from Animatable.) |
![]() | IsEnabled |
Gets or sets a value indicating whether this action will run when invoked. This is a dependency property.
(Inherited from TriggerAction.) |
![]() | IsFrozen | Gets a value that indicates whether the object is currently modifiable. (Inherited from Freezable.) |
![]() | IsSealed | Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited from DependencyObject.) |
![]() | MarkEventAsHandled | Gets or sets a value indicating whether the Handled property must set to after execution
of the command. |
![]() | PassEventArgsToCommand | Gets or sets a value indicating whether the EventArgs passed to the event handler will be forwarded to the
Execute(Object) method, when the event is fired (if the bound ICommand accepts an argument of type EventArgs).
(Inherited from EventToCommand.)For example, use a RelayCommandT to get the arguments of a MouseMove event. |
Name | Description | |
---|---|---|
![]() ![]() | System#Windows#Interactivity#IAttachedObject#AssociatedObject |
Gets the associated object.
(Inherited from TriggerAction.) |