EventBindingService.OnEventHandlerGenerated 方法

引发 EventHandlerGenerated 事件。

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

语法

声明
Protected Overridable Sub OnEventHandlerGenerated ( _
    modelEvent As ModelEvent, _
    methodName As String _
)
protected virtual void OnEventHandlerGenerated(
    ModelEvent modelEvent,
    string methodName
)
protected:
virtual void OnEventHandlerGenerated(
    ModelEvent^ modelEvent, 
    String^ methodName
)
abstract OnEventHandlerGenerated : 
        modelEvent:ModelEvent * 
        methodName:string -> unit 
override OnEventHandlerGenerated : 
        modelEvent:ModelEvent * 
        methodName:string -> unit 
protected function OnEventHandlerGenerated(
    modelEvent : ModelEvent, 
    methodName : String
)

参数

  • methodName
    类型:System.String
    与 modelEvent 关联的方法处理程序。

.NET Framework 安全性

请参见

参考

EventBindingService 类

Microsoft.Windows.Design.Services 命名空间

EventHandlerGenerated

EventHandlerGeneratedEventArgs

其他资源

WPF 设计器扩展性体系结构