HtmlTable.HtmlTableRowControlCollection Class
Represents a collection of HtmlTableRow objects that are the rows of an HtmlTable control.
Assembly: System.Web (in System.Web.dll)
System.Web.UI.ControlCollection
System.Web.UI.HtmlControls.HtmlTable.HtmlTableRowControlCollection
| 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 the server control at the specified index location in the ControlCollection object.(Inherited from ControlCollection.) |
![]() | Owner | 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.) |
| Name | Description | |
|---|---|---|
![]() | Add(Control) | Adds the specified Control object to the collection.(Overrides ControlCollection.Add(Control).) |
![]() | AddAt(Int32, Control) | Adds the specified Control object to the collection. The new control is added to the array at the specified index location.(Overrides ControlCollection.AddAt(Int32, Control).) |
![]() | 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 System.Array object, beginning at the specified index location in the System.Array.(Inherited from ControlCollection.) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(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() | |
![]() | IndexOf(Control) | Retrieves the index of a specified Control object in the collection.(Inherited from ControlCollection.) |
![]() | MemberwiseClone() | |
![]() | 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.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<'TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<'TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
The HtmlTable.HtmlTableRowControlCollection class represents a collection of HtmlTableRow objects for an HtmlTable control. Controls can be added at the end of the collection with the Add method, or at a specified index location in the collection with the AddAt method. Only controls of type HtmlTableRow can be added to the HtmlTable.HtmlTableRowControlCollection collection.
The following code example demonstrates how to create a custom HtmlTable.HtmlTableRowControlCollection that overrides the Add method so that when rows are added to a table, they are always added at the beginning of the table's row collection.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=fsharp)
.jpeg?cs-save-lang=1&cs-lang=fsharp)
.jpeg?cs-save-lang=1&cs-lang=fsharp)
.jpeg?cs-save-lang=1&cs-lang=fsharp)