Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft