Controls Property

Menu.Controls Property

 

Gets a ControlCollection that contains the child controls of the Menu control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public override ControlCollection Controls { get; }

Property Value

Type: System.Web.UI.ControlCollection

A ControlCollection that contains the child controls

The Controls property allows you programmatic access to the instance of the ControlCollection class for the Menu control. You can add controls to the collection, remove controls from the collection, or iterate through the server controls in the collection.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft