Click or drag to resize
KaxToolBarButtonCollectionAddRange Method
Appends the specified array of KaxToolBarButton objects to the end of the current KaxToolBarButtonCollection.

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

Parameters

buttons
Type: System.Collections.GenericIEnumerableKaxToolBarButton
The array of KaxToolBarButton objects to append to the end of the current KaxToolBarButtonCollection.
Examples
The following example demonstrates how to use the AddRange method to add multiple buttons in a single step.
KaxToolBarDropDown manageDropDown = new KaxToolBarDropDown("Manage");
KaxToolBarButton[] buttons = new KaxToolBarButton[] { new KaxToolBarButton("Users"),
            new KaxToolBarButton("Orders")};

manageDropDown.Buttons.AddRange(buttons);

KaxToolBar1.Items.Add(manageDropDown);
See Also