Assembly: System.Web (in System.Web.dll)
The method is a critical method on a LayoutEditorPart control. The method's purpose is to save the values a user has set on a LayoutEditorPart control to the corresponding properties in the associated WebPart control. The associated control is referenced in the LayoutEditorPart control's inherited WebPartToEdit property.
You cannot call the method from your own code. However, if you need more programmatic control over the process of editing various WebPart control properties than the LayoutEditorPart control provides, you can create a custom EditorPart control and provide your own implementation of this method. For an example, see the EditorPart.ApplyChanges method.
The method attempts to set the following properties on the associated WebPart control:
The method is called when the user clicks a button representing an OK or an apply verb in the editing user interface (UI).