Share via


EventBindingService.AppendStatements Method

Appends the specified collection of CodeStatement objects to the specified event handler.

Namespace:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Sub AppendStatements ( _
    modelEvent As ModelEvent, _
    methodName As String, _
    statements As CodeStatementCollection _
)
public abstract void AppendStatements(
    ModelEvent modelEvent,
    string methodName,
    CodeStatementCollection statements
)
public:
virtual void AppendStatements(
    ModelEvent^ modelEvent, 
    String^ methodName, 
    CodeStatementCollection^ statements
) abstract
abstract AppendStatements : 
        modelEvent:ModelEvent * 
        methodName:string * 
        statements:CodeStatementCollection -> unit 
public abstract function AppendStatements(
    modelEvent : ModelEvent, 
    methodName : String, 
    statements : CodeStatementCollection
)

Parameters

  • methodName
    Type: System.String
    The method name of the event handler.

.NET Framework Security

See Also

Reference

EventBindingService Class

Microsoft.Windows.Design.Services Namespace

Other Resources

WPF Designer Extensibility Architecture