In This Article

RibbonQuickAccessToolBarViewModel Class

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

public class RibbonQuickAccessToolBarViewModel : ObservableObjectBase, IHasTag
Inheritance:
object ObservableObjectBase object
Implements:
IHasTag

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>

Tag

A user-defined object attached to the control.

public object? Tag { get; set; }

Property Value

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