共用方式為


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 設計工具擴充性架構