Click or drag to resize
KaxToolBarItems Property
Gets a collection of KaxToolBarItem objects representing the individual items within the KaxToolBar.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public KaxToolBarItemCollection Items { get; }

Property Value

Type: KaxToolBarItemCollection
A KaxToolBarItemCollection that contains a collection of KaxToolBarItem objects representing the individual items within the KaxToolBar.

Implements

IKaxToolBarItemContainerItems
Remarks
Use the Items collection to programmatically control the items in the KaxToolBar control.
Examples
The following example demonstrates how to declare a KaxToolBar with different items.

<kettic:KaxToolBar ID="KaxToolBar1" runat="server"> <Items> <kettic:KaxToolBarButton ImageUrl="~/ToolBarImages/CreateNew.gif" Text="Create new" CommandName="CreateNew"/> <kettic:KaxToolBarButton IsSeparator="true" /> <kettic:KaxToolBarDropDown ImageUrl="~/ToolbarImages/Manage.gif" Text="Manage"> <Buttons> <kettic:KaxToolBarButton ImageUrl="~/ToolbarImages/ManageUsers.gif" Text="Users" /> <kettic:KaxToolBarButton ImageUrl="~/ToolbarImages/ManageOrders.gif" Text="Orders" /> </Buttons> </kettic:KaxToolBarDropDown> <kettic:KaxToolBarSplitButton ImageUrl="~/ToolBarImages/RegisterPurchase.gif" Text="Register Purchase"> <Buttons> <kettic:KaxToolBarButton ImageUrl="~/ToolBarImages/RegisterCachePurchase.gif" Text="Cache Purchase" /> <kettic:KaxToolBarButton ImageUrl="~/ToolBarImages/RegisterCheckPurchase.gif" Text="Check Purchase" /> <kettic:KaxToolBarButton ImageUrl="~/ToolBarImages/RegisterDirectBankPurchase.gif" Text="Bank Purchase" /> </Buttons> </kettic:KaxToolBarSplitButton> </Items> </kettic:KaxToolBar>

See Also