BarKeyedObjectViewModelBase Class
Represents an abstract view model base for an observable object that is identified by a unique string key.
public abstract class BarKeyedObjectViewModelBase : ObservableObjectBase, IHasKey, IHasTag
- Inheritance:
- object ObservableObjectBase object
- Derived:
- BarButtonViewModel BarGalleryViewModelBase BarPopupButtonViewModel BarTextBoxViewModel DockableToolBarViewModel RibbonBackstageHeaderButtonViewModel RibbonBackstageTabViewModel RibbonContextualTabGroupViewModel RibbonGroupLauncherButtonViewModel RibbonGroupViewModel RibbonTabViewModel
Constructors
BarKeyedObjectViewModelBase()
Initializes an instance of the class.
protected BarKeyedObjectViewModelBase()
BarKeyedObjectViewModelBase(string?)
Initializes an instance of the class.
protected BarKeyedObjectViewModelBase(string? key)
| Parameter | Type | Description |
|---|---|---|
| key | string | A string that uniquely identifies the control. |
Properties
Key
A string that uniquely identifies the control.
Tag
A user-defined object attached to the control.
Methods
ToString()
Returns the string representation of this object.
Inherited Members
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.OnPropertyChanging(string)
- ObservableObjectBase.OnPropertyChanging(PropertyChangingEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- ObservableObjectBase.PropertyChanging
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()