In This Article

RibbonQuickAccessToolBarViewModel Class

Represents a view model for a quick-access toolbar control within a ribbon.

public class RibbonQuickAccessToolBarViewModel : ObservableObjectBase
Inheritance:
object ObservableObjectBase object

Constructors

RibbonQuickAccessToolBarViewModel()

Initializes an instance of the class.

public RibbonQuickAccessToolBarViewModel()

Properties

CommonItems

Gets the collection of common items that should appear in the QAT's Customize menu, from which they can be toggled into and out of Items.

public ObservableCollection<object> CommonItems { get; }

Property Value

ObservableCollection<object>:

The collection of common items that should appear in the QAT's Customize menu.

IsCustomizeButtonVisible

Gets or sets whether the customize button is visible.

public bool IsCustomizeButtonVisible { get; set; }

Property Value

bool:

true if the customize button is visible; otherwise, false. The default value is true.

Items

Gets the collection of items in the control.

public ObservableCollection<object> Items { get; }

Property Value

ObservableCollection<object>:

The collection of items in the control.

Methods

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members