KaxToolBarItemCollectionAddRange Method |
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax public void AddRange(
IEnumerable<KaxToolBarItem> items
)
Public Sub AddRange (
items As IEnumerable(Of KaxToolBarItem)
)
public:
void AddRange(
IEnumerable<KaxToolBarItem^>^ items
)
member AddRange :
items : IEnumerable<KaxToolBarItem> -> unit
Parameters
- items
- Type: System.Collections.GenericIEnumerableKaxToolBarItem
The array of KaxToolBarItem objects to append to the end of the current
KaxToolBarItemCollection.
Examples
The following example demonstrates how to use the
AddRange method
to add multiple items in a single step.
KaxToolBarItem[] items = new KaxToolBarItem[] { new KaxToolBarButton("Create New"),
new KaxToolBarDropDown("Manage"),
new KaxToolBarSplitButton("Register Purchase")};
KaxToolBar1.Items.AddRange(items);
Dim items() As KaxToolBarItem = {New KaxToolBarButton("Create New"),
New KaxToolBarDropDown("Manage"),
New KaxToolBarSplitButton("Register Purchase")}
KaxToolBar1.Items.AddRange(items)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also