InvokeCommandAction 類別
在叫用時執行指定的 ICommand。
命名空間: System.Windows.Interactivity
組件: System.Windows.Interactivity (在 system.windows.interactivity.dll 中)
語法
'宣告
Public NotInheritable Class InvokeCommandAction
Inherits TriggerAction(Of DependencyObject)
'用途
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>
繼承階層
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
執行緒安全性
此型別的所有公用靜態 (Visual Basic 中為 Shared ) 成員均為安全執行緒。任何例項成員則不保證為安全執行緒。