EventBindingService.GetCompatibleMethods 方法

在派生类中重写时,返回与指定事件兼容的方法的名称。

命名空间:  Microsoft.Windows.Design.Services
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public MustOverride Function GetCompatibleMethods ( _
    modelEvent As ModelEvent _
) As IEnumerable(Of String)
public abstract IEnumerable<string> GetCompatibleMethods(
    ModelEvent modelEvent
)
public:
virtual IEnumerable<String^>^ GetCompatibleMethods(
    ModelEvent^ modelEvent
) abstract
abstract GetCompatibleMethods : 
        modelEvent:ModelEvent -> IEnumerable<string> 
public abstract function GetCompatibleMethods(
    modelEvent : ModelEvent
) : IEnumerable<String>

参数

返回值

类型:System.Collections.Generic.IEnumerable<String>
与 modelEvent 兼容的方法的名称。

.NET Framework 安全性

请参见

参考

EventBindingService 类

Microsoft.Windows.Design.Services 命名空间

ModelEditingScope

ModelEventCollection

其他资源

WPF 设计器扩展性体系结构