Gets a reference to the System.Web.UI.WebControls.WebParts.WebPart control that is currently being edited.
Documentation for this section has not yet been entered.
The System.Web.UI.WebControls.WebParts.WebPart control (or other server or user control) that is currently being edited corresponds to the value of the WebPartManager.SelectedWebPart property. Only one System.Web.UI.WebControls.WebParts.WebPart control can be edited at a time, and when a control is in edit mode, the EditorPart.WebPartToEdit property provides a reference to that control.
After the System.Web.UI.WebControls.WebParts.EditorZoneBase zone has added the System.Web.UI.WebControls.WebParts.EditorPart control to its collection of controls, it then assigns the value of its own EditorZoneBase.WebPartToEdit property to the EditorPart.WebPartToEdit property on the System.Web.UI.WebControls.WebParts.EditorPart control.
An System.Web.UI.WebControls.WebParts.EditorPart control uses the EditorPart.WebPartToEdit property especially in its two critical methods--EditorPart.ApplyChanges and EditorPart.SyncChanges--to get and set the property values on the associated control.