EventBindingService.OnEventHandlerGenerated Method
Raises the EventHandlerGenerated event.
Namespace: Microsoft.Windows.Design.Services
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Protected Overridable Sub OnEventHandlerGenerated ( _
modelEvent As ModelEvent, _
methodName As String _
)
'Usage
Dim modelEvent As ModelEvent
Dim methodName As String
Me.OnEventHandlerGenerated(modelEvent, _
methodName)
protected virtual void OnEventHandlerGenerated(
ModelEvent modelEvent,
string methodName
)
protected:
virtual void OnEventHandlerGenerated(
ModelEvent^ modelEvent,
String^ methodName
)
protected function OnEventHandlerGenerated(
modelEvent : ModelEvent,
methodName : String
)
Parameters
modelEvent
Type: Microsoft.Windows.Design.Model.ModelEventThe ModelEvent instance that was associated with methodName.
methodName
Type: System.StringThe method handler that was associated with the modelEvent.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Services Namespace
EventHandlerGeneratedEventArgs
Change History
Date |
History |
Reason |
---|---|---|
July 2008 |
Added new member. |
SP1 feature change. |