Menu.Controls Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: