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 设计器扩展性体系结构