Bewerken

Share via


Menu.Controls Property

Definition

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

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

A ControlCollection that contains the child controls.

Remarks

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.

Applies to