Intersoft ClientUI Documentation
How-to: Create Simple Tool Bar

This example shows how to create simple UXToolBar.

Example

Description

UXToolBar is used to host a collection of command buttons which typically represented as a bar-like interface docked in the top edge of the screen. Depending on your UI scenarios, you can use either UXToolGroup or UXToolBarButton as the item of the tool bar. To learn more about UXToolGroup see UXToolBar Overview.

This following code shows how to create a simple UXToolBar that contains one UXToolGroup that has two UXToolBarButton.

Code

XAML
Copy Code
<Intersoft:DockPanel>
    <Intersoft:UXToolBar Name="toolBar" Intersoft:DockPanel.Dock="Top">
        <Intersoft:UXToolGroup>
            <Intersoft:UXToolBarButton Content="Save Changes" DisplayMode="Content" />
            <Intersoft:UXToolBarButton Content="Cancel" DisplayMode="Content" />
        </Intersoft:UXToolGroup>
    </Intersoft:UXToolBar>
</Intersoft:DockPanel>
See Also