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

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>

IsCustomizeButtonVisible

Indicates whether the customize button is visible.

public bool IsCustomizeButtonVisible { get; set; }

Property Value

bool:

The default value is true.

Items

The collection of items in the control.

public ObservableCollection<object> Items { get; }

Property Value

ObservableCollection<object>

Methods

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members

Extension Methods