DesignSurface.Flush Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Serializes changes to the design surface.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public void Flush()

The Flush method can be called to push changes made to the design surface down to the serializer. This ensures that the design surface and its serialized state are synchronized. The actual implementation of this method is forwarded to the designer loader associated with design surface. The designer loader may choose to defer changes until Flush is called, or it may choose to keep the serialized data up to date with all user changes. The Flush method ensures that regardless of the model the designer loader chooses to use, the serialized state is synchronized with the actual design surface.

.NET Framework
Available since 2.0
Return to top