In This Article

RibbonQuickAccessToolBarViewModel Class

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

public class RibbonQuickAccessToolBarViewModel : ObservableObjectBase, INotifyPropertyChanged
Inheritance:
System.Object ObservableObjectBase Object

Constructors

RibbonQuickAccessToolBarViewModel()

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

System.Collections.ObjectModel.ObservableCollection<System.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

System.Boolean:

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

System.Collections.ObjectModel.ObservableCollection<System.Object>:

The collection of items in the control.

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

System.String:

A string that represents the current object.

Inherited Members