Click or drag to resize
KaxMenuItemCollectionAddRange Method
Appends the specified array of KaxMenuItem objects to the end of the current KaxMenuItemCollection.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public virtual void AddRange(
	IEnumerable<KaxMenuItem> items
)

Parameters

items
Type: System.Collections.GenericIEnumerableKaxMenuItem
The array of KaxMenuItem to append to the end of the current KaxMenuItemCollection.
Examples
The following example demonstrates how to use the AddRange method to add multiple items in a single step.
KaxMenuItem[] items = new KaxMenuItem[] { new KaxMenuItem("First"), new KaxMenuItem("Second"), new KaxMenuItem("Third") };
KaxMenu1.Items.AddRange(items);
See Also