This attribute indicates how the child controls of an ASP.NET Server Control should be persisted at design time. If set to True, the child controls are persisted as nested inner server control tags. If False, the properties of the control may be persisted as inner tags.
public sealed class PersistChildrenAttribute : Attribute { // Public Constructors public PersistChildrenAttribute(bool persist); // Public Static Fields public static readonly PersistChildrenAttribute Default; // =System.Web.UI.PersistChildrenAttribute public static readonly PersistChildrenAttribute No; // =System.Web.UI.PersistChildrenAttribute public static readonly PersistChildrenAttribute Yes; // =System.Web.UI.PersistChildrenAttribute// Public Instance Properties public bool Persist{get; } // Public Instance Methods public override bool Equals(object obj); // overrides Attribute public override int GetHashCode( ); // overrides Attribute public override bool IsDefaultAttribute( ); // overrides Attribute }