This class provides shared (static) helper methods that retrieve the
information used to persist a control and its state. For example, the
PersistControl( ) method returns a string that
looks very similar to the control tag used in the
.aspx file, with the named class used instead of
the "asp:" prefix. Typically, this
class is used only by the IDE.
public sealed class ControlPersister {
// Public Static Methods
public static string PersistControl(System.Web.UI.Control control);
public static string PersistControl(System.Web.UI.Control control, System.ComponentModel.Design.IDesignerHost host);
public static void PersistControl(System.IO.TextWriter sw, System.Web.UI.Control control);
public static void PersistControl(System.IO.TextWriter sw, System.Web.UI.Control control,
System.ComponentModel.Design.IDesignerHost host);
public static string PersistInnerProperties(object component, System.ComponentModel.Design.IDesignerHost host);
public static void PersistInnerProperties(System.IO.TextWriter sw, object component,
System.ComponentModel.Design.IDesignerHost host);
}