Share

QuickAccessToolBarSource Class

Description

The Quick Access Toolbar (QAT) is a toolbar tray containing a single toolbar that resides either in the caption bar of the application frame or in a window directly below the ribbon. It provides standard controls for various operations, including New, Open, Save, Undo, and Redo. It is the client application�s responsibility to provide the actual command to be invoked for each of the standard commands. Client applications can specify which of the standard controls provided by the QAT are available. Client applications can also add other standard controls. The standard controls are always displayed in the customization menu. Users can hide and show the standard controls using the customization menu or the context menu of the control in the Quick Access Toolbar. Within the application framework, the QuickAcccesToolBarSource class is the data source for the Quick Access Toolbar. It derives from ToolBarSource. In addition to the functionality provided by its base class, it has the following responsibilities:

  1. Maintain a collection of standard commands that apply to all client applications.
  2. Validate the content items as they are added and removed from the quick access toolbar.
  3. Populate the toolbar customize button menu with items specific to the quick access toolbar.

Class Hierarchy

Autodesk.Windows.IPersistentObjectSource
Autodesk.Windows.ToolBars.ToolBarSource
    Autodesk.Windows.ToolBars.QuickAccessToolBarSource

C#

public class QuickAccessToolBarSource : ToolBarSource, IPersistentObjectSource;

Visual Basic

Public Class QuickAccessToolBarSource
Inherits ToolBarSource
Inherits IPersistentObjectSource

Links

QuickAccessToolBarSource Methods, QuickAccessToolBarSource Properties

Was this information helpful?