Adds an event handler for the System.ComponentModel.Design.IDesignerHost.BeforeBatchOperation event.
[Visual Basic] Sub AddOnBeforeBatchOperation( _ ByVal handler As EventHandler _ ) [C#] void AddOnBeforeBatchOperation( EventHandler handler ); [C++] void AddOnBeforeBatchOperation( EventHandler* handler ) = 0; [JScript] function AddOnBeforeBatchOperation( handler : EventHandler );
This method allows any designer host clients to perform operations before other handlers are notified of the batch operation beginning. The specified handler will only be called when the first call to System.ComponentModel.Design.BeginBatchOperation is made in an operation. Subsquent calls will not generate this event until all the matching EndBatchOperation calls have been made.
IDesignerHost Interface | IDesignerHost Members | System.ComponentModel.Design Namespace | BeginBatchOperation | EndBatchOperation | AddOnAfterBatchOperation | RemoveOnAfterBatchOperation