In This Article

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
Inheritance:
object ObservableObjectBase object
Derived:
BarButtonViewModel BarGalleryViewModelBase BarPopupButtonViewModel BarTextBoxViewModel RibbonBackstageHeaderButtonViewModel RibbonBackstageTabViewModel RibbonContextualTabGroupViewModel RibbonGroupLauncherButtonViewModel RibbonGroupViewModel RibbonTabViewModel
Implements:
IHasKey

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.

Methods

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members