Returns a copy of the associated control in order to provide a preview before applying the format to the control.
The DesignerAutoFormat.GetPreviewControl(System.Web.UI.Control) method returns a copy of the associated Web server control.
The DesignerAutoFormat.GetPreviewControl(System.Web.UI.Control) method is used by visual designers, such as vsprvslong, in an AutoFormat dialog box to display a formatted run-time preview of the control at design time before applying the format to the actual control.
Regardless of the setting of the System.Web.UI.Design.SupportsPreviewControlAttribute attribute for the System.Web.UI.Design.ControlDesigner object, the DesignerAutoFormat.GetPreviewControl(System.Web.UI.Control) method returns a copy of the control in the runtimeControl parameter.