共用方式為


ToolActionEventArgs.SourceEvent 屬性

取得造成這個工具動作事件的輸入事件。

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public ReadOnly Property SourceEvent As EventArgs
    Get
public EventArgs SourceEvent { get; }
public:
property EventArgs^ SourceEvent {
    EventArgs^ get ();
}
member SourceEvent : EventArgs
function get SourceEvent () : EventArgs

屬性值

型別:System.EventArgs
EventArgs ,表示造成這個工具動作事件的輸入事件。

.NET Framework 安全性

請參閱

參考

ToolActionEventArgs 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

WPF 設計工具擴充性

工具架構