DataPager.Controls Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.