Occurs at the starting and ending points of a batch operation.
The following declaration shows the syntax for a method that handles the BatchOperation event.
[Visual Basic] Private Sub IDesignerHostName_BatchOperation( _ ByVal sender As Object, _ ByVal e As BatchOperationEventArgs _ ) [C#] private void IDesignerHostName_BatchOperation( object sender, BatchOperationEventArgs e ); [C++] private: void IDesignerHostName_BatchOperation( Object* sender, BatchOperationEventArgs* e ); [JScript] private IDesignerHostName_BatchOperation( sender : Object, e : BatchOperationEventArgs );
A batch operation event occurs upon first entry of a batch operation, and again upon last exit of the operation; nested calls do not generate events. Also, if the designer host is currently within a batch operation and an object adds an event handler, the handler will be invoked immediately.
IDesignerHost Interface | IDesignerHost MembersTopic | System.ComponentModel.Design Namespace