Click or drag to resize
KaxToolBarOrientation Property
Gets or sets the direction in which to render the KaxToolBar control.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public Orientation Orientation { get; set; }

Property Value

Type: Orientation
One of the Orientation enumeration values. The default is Orientation.Horizontal.
Remarks
Use the Orientation property to specify the direction in which to render the KaxToolBar control. The following table lists the available directions.

OrientationDescription
Orientation.HorizontalThe KaxToolBar control is rendered horizontally.
Orientation.VerticalThe KaxToolBar control is rendered vertically.

Examples
The following example demonstrates how to use the Orientation property to display a vertical KaxToolBar.

<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