System.Web.UI.PersistChildrenAttribute Members

The members of System.Web.UI.PersistChildrenAttribute are listed below.

See Also: Inherited members from System.Attribute

Public Constructors

Initializes a new instance of the System.Web.UI.PersistChildrenAttribute class using a Boolean value indicating whether to persist nested content as nested controls.

Initializes a new instance of the System.Web.UI.PersistChildrenAttribute class using two Boolean values. One indicating whether to persist nested content as nested controls and the other indicating whether to use a custom persistence method.

Public Fields

static readonly
DefaultPersistChildrenAttribute.

Indicates the default attribute state. The PersistChildrenAttribute.Default field is read-only.

static readonly
NoPersistChildrenAttribute.

Indicates that nested content should not persist as nested controls at design time. This field is read-only.

static readonly
YesPersistChildrenAttribute.

Indicates that nested content should persist as controls at design time. The PersistChildrenAttribute.Yes field is read-only.

Public Properties

[read-only]
Persistbool.

Gets a value that indicates whether the nested content is persisted as nested controls at design time.

[read-only]
UsesCustomPersistencebool.

Gets a value indicating whether the server control provides custom persistence of nested controls at design time.

Public Methods

override
Equals(object) : bool

Determines whether the specified object is equal to the current object.

override
GetHashCode() : int

Serves as a hash function for the System.Web.UI.PersistChildrenAttribute class.

override
IsDefaultAttribute() : bool

Returns a value indicating whether the value of the current instance of the System.Web.UI.PersistChildrenAttribute class is the default value of the derived clss.