Begins a change block.
Assembly: PresentationFramework (in PresentationFramework.dll)
Note: When you call , you must also call EndChange to complete the change block otherwise an exception will be thrown.
A change block logically groups multiple changes into a single undo unit and prevents text content or selection change events from being raised until after the change block. This way you can make multiple edits to the text element without the danger of the text element being changed at the same time by another listener. A change block is created by calling the DeclareChangeBlock method. Calling the method causes all subsequent changes to be included in the specified change block until a corresponding call to the EndChange method is made.