Share via


InvokeCommandAction Class

Executes a specified ICommand when invoked.

Namespace: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in system.windows.interactivity.dll)

Syntax

'Declaration
Public NotInheritable Class InvokeCommandAction
    Inherits TriggerAction(Of DependencyObject)
'Usage
Dim instance As InvokeCommandAction
public sealed class InvokeCommandAction : TriggerAction<DependencyObject>
public ref class InvokeCommandAction sealed : public TriggerAction<DependencyObject^>
public final class InvokeCommandAction extends TriggerAction<DependencyObject>
public final class InvokeCommandAction extends TriggerAction<DependencyObject>

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
     System.Windows.DependencyObject
       System.Windows.Freezable
         System.Windows.Media.Animation.Animatable
           System.Windows.Interactivity.TriggerAction
             System.Windows.Interactivity.TriggerAction
              System.Windows.Interactivity.InvokeCommandAction

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

InvokeCommandAction Members
System.Windows.Interactivity Namespace