Skip to main content
Tab

PanelCollection Members

A collection that stores a single container for the panel contents.
This class supports the internal infrastructure of DevExpress control hierarchy realization and is mostly used to create the panel contents declaratively, in ASP.NET markup (see samples for ASPxPanel, ASPxRoundPanel, and ASPxCallbackPanel). To create the panel contents at run-time (in code-behind files), use the ASPxPanelContainerBase.Controls collection of a control (see samples for ASPxPanel, ASPxRoundPanel, and ASPxCallbackPanel).

Constructors

Name Description
PanelCollection(Control) For internal use only.

Properties

Name Description
Count Gets the number of server controls in the ControlCollection object for the specified ASP.NET server control. Inherited from ControlCollection.
IsReadOnly Gets a value indicating whether the ControlCollection object is read-only. Inherited from ControlCollection.
IsSynchronized Gets a value indicating whether the ControlCollection object is synchronized. Inherited from ControlCollection.
Item[Int32] Gets a reference to an object at the specified index location in the PanelCollection object. For internal use only.
Owner protected Gets the ASP.NET server control to which the ControlCollection object belongs. Inherited from ControlCollection.
SyncRoot Gets an object that can be used to synchronize access to the collection of controls. Inherited from ControlCollection.

Methods

Name Description
Clear() Removes all controls from the current server control’s ControlCollection object. Inherited from ControlCollection.
Contains(Control) Determines whether the specified server control is in the parent server control’s ControlCollection object. Inherited from ControlCollection.
CopyTo(Array, Int32) Copies the child controls stored in the ControlCollection object to an Array object, beginning at the specified index location in the Array. Inherited from ControlCollection.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetEnumerator() Retrieves an enumerator that can iterate through the ControlCollection object. Inherited from ControlCollection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(Control) Retrieves the index of a specified Control object in the collection. Inherited from ControlCollection.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(Control) Removes the specified server control from the parent server control’s ControlCollection object. Inherited from ControlCollection.
RemoveAt(Int32) Removes a child control, at the specified index location, from the ControlCollection object. Inherited from ControlCollection.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also