PersistChildrenAttribute

PersistChildrenAttribute

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 }

Hierarchy

System.Object System.Attribute PersistChildrenAttribute

Valid On

Class



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net