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 istrue
.
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.
Inherited Members
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()