Intersoft ClientUI Documentation
QuickAccessToolBar Property



Gets or sets a value that represents an object instance of UXRibbonQuickAccessToolBar.
Syntax
Public Property QuickAccessToolBar As UXRibbonQuickAccessToolBar
Dim instance As UXRibbonBar
Dim value As UXRibbonQuickAccessToolBar
 
instance.QuickAccessToolBar = value
 
value = instance.QuickAccessToolBar
public UXRibbonQuickAccessToolBar QuickAccessToolBar {get; set;}
public:
property UXRibbonQuickAccessToolBar^ QuickAccessToolBar {
   UXRibbonQuickAccessToolBar^ get();
   void set (    UXRibbonQuickAccessToolBar^ value);
}
Remarks

UXRibbonQuickAccessToolbar is a ribbon-friendly control that provides quick access to frequently accessed commands such as New, Open, Save and Print. You can hide the commands initially by setting the Visibility property to Collapsed. At runtime, users can show the hidden commands through the dropdown menu in the quick access toolbar.

By default, the position of UXRibbonQuickAccessToolbar is set to the top of UXRibbonBar. If you prefer, you can set the position to the bottom by setting the ToolBarPosition property to Bottom.

UXRibbonQuickAccessToolbar derives from UXToolbar which is an advanced, rich-featured toolbar control with elegant built-in styles and built-in support for various button types such as described below.

The following code shows how to add UXRibbonQuickAccessToolbar to the ribbon control with several buttons using different button type.

XAML
Copy Code
<Intersoft:UXRibbonBar.QuickAccessToolBar>
    <Intersoft:UXRibbonQuickAccessToolBar>
        <Intersoft:UXRibbonToolBarButton DisplayMode="Image" Content="New" Icon="/assets/icons/new.png" />
        <Intersoft:UXRibbonToolBarButton DisplayMode="Image" Content="Open" Icon="/assets/icons/openfolder.png" />
        <Intersoft:UXRibbonToolBarButton DisplayMode="Image" Content="Save" Icon="/assets/icons/save.png" />
        <Intersoft:UXSeparator />
        <Intersoft:UXRibbonToolBarButton Visibility="Collapsed" DisplayMode="Image" Content="Meeting" Icon="/assets/icons/meeting.png" IsToggleButton="True" />
        <Intersoft:UXRibbonToolBarButton DisplayMode="Image" Content="More" Icon="/assets/icons/more.png" />
        <Intersoft:UXRibbonToolBarButton ButtonType="DropdownButton" DisplayMode="Image" Content="Clean Up" Icon="/assets/icons/clean_up.png">
            <Intersoft:UXRibbonMenuItem Header="Clean Up Conversation" />
            <Intersoft:UXRibbonMenuItem Header="Clean Up Folder" />
            <Intersoft:UXRibbonMenuItem Header="Clean Up Folder & Subfolders" />
        </Intersoft:UXRibbonToolBarButton>
        <Intersoft:UXRibbonToolBarButton ButtonType="SplitButton" DisplayMode="Image" Content="Find" Icon="/assets/icons/find.png">
            <Intersoft:UXRibbonMenuItem Header="Find" Icon="/assets/icons/find.png" />
            <Intersoft:UXRibbonMenuItem Header="Advanced Find..." Icon="/assets/icons/find.png" />
            <Intersoft:UXRibbonMenuItem Header="Go To..." />
        </Intersoft:UXRibbonToolBarButton>
    </Intersoft:UXRibbonQuickAccessToolBar>
</Intersoft:UXRibbonBar.QuickAccessToolBar>

The result looks like the following figure.

Using Commands in Quick Access Toolbar

The following example shows how to assign a command to a UXRibbonToolBarButton which will be executed when the item is pressed.

XAML
Copy Code
<Intersoft:UXRibbonToolBarButton Content="Add new task" Command="{Binding AddNewTaskCommand}" />
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXRibbonBar Class
UXRibbonBar Members

Send Feedback