Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

Menu.Items Property

Returns a collection of top level menu items.

[Visual Basic]
Public ReadOnly Property Items As MenuItemCollection
[C#]
public MenuItemCollection Items {get;}

Property Value

MenuItemCollection class

A collection of top level menu items.

This property is read only. However, you can access the properties and methods of the object it returns.

Remarks

This property is a collection of top level menu items. You can also access the top level menu items via TopGroup.Items. The code below demonstrates how to dynamically add top level menu items.

[C#] 
Menu1.Items.Add("Products");
Menu1.Items.Add("Support");
[Visual Basic.NET] 
Menu1.Items.Add("Products")
Menu1.Items.Add("Support")

See Also

Menu Class | EO.Web Namespace


Direct link to this topic