Skip to main content
A newer version of this page is available. .

ViewModelBase Members

The base class for ViewModels.

Constructors

Name Description
ViewModelBase() Initializes a new instance of the ViewModelBase class.

Properties

Name Description
IsInDesignMode static Gets whether design-time mode is active.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetPropertyName<T>(Expression<Func<T>>) static Returns the name of a property identified by a lambda expression. Inherited from BindableBase.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
PropertyChanged Occurs when a property value changes. Inherited from BindableBase.
See Also