Muokkaa

Jaa


DataPager.Controls Property

Definition

Gets a ControlCollection object that represents the child controls for the DataPager control in the UI hierarchy.

public:
 virtual property System::Web::UI::ControlCollection ^ Controls { System::Web::UI::ControlCollection ^ get(); };
public override System.Web.UI.ControlCollection Controls { get; }
member this.Controls : System.Web.UI.ControlCollection
Public Overrides ReadOnly Property Controls As ControlCollection

Property Value

The collection of child controls for the DataPager control.

Remarks

You can add controls to the collection, remove controls from the collection, or iterate through the server controls in the collection.

Notes to Inheritors

When you override the Controls property, make sure that you call the EnsureChildControls() method.

Applies to

See also