System.Web.UI (system.web.dll)sealed class

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


System.Object System.Attribute PersistChildrenAttribute

Valid On


    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace