共用方式為


EventBindingService.GetMethodHandlers 方法

在衍生類別中覆寫時,傳回用以處理指定事件的方法清單。

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

語法

'宣告
Public MustOverride Function GetMethodHandlers ( _
    modelEvent As ModelEvent _
) As IEnumerable(Of String)
public abstract IEnumerable<string> GetMethodHandlers(
    ModelEvent modelEvent
)
public:
virtual IEnumerable<String^>^ GetMethodHandlers(
    ModelEvent^ modelEvent
) abstract
abstract GetMethodHandlers : 
        modelEvent:ModelEvent -> IEnumerable<string> 
public abstract function GetMethodHandlers(
    modelEvent : ModelEvent
) : IEnumerable<String>

參數

傳回值

型別:System.Collections.Generic.IEnumerable<String>
用以處理 modelEvent 的方法清單。

.NET Framework 安全性

請參閱

參考

EventBindingService 類別

Microsoft.Windows.Design.Services 命名空間

ModelEditingScope

ModelEventCollection

其他資源

WPF 設計工具擴充性架構