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 a new instance of the BarKeyedObjectViewModelBase class.
protected BarKeyedObjectViewModelBase()
BarKeyedObjectViewModelBase(string)
Initializes a new instance of the BarKeyedObjectViewModelBase class.
protected BarKeyedObjectViewModelBase(string key)
Parameter | Type | Description |
---|---|---|
key | string | A string that uniquely identifies the control. |
Properties
Key
Gets a string that uniquely identifies the control.
public string Key { get; set; }
Property Value
- string:
A string that uniquely identifies the control.
Tag
Gets or sets a user-defined object attached to 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()