Show / Hide Table of Contents

Class ViewModelBase

Base class for view models that provides an implementation of INotifyPropertyChanged.

Inheritance
object
ViewModelBase
MessagingViewModelBase
ProgressBarViewModel
SelectableCollectionViewModel<T>
SelectableItem
ViewModelField<T>
Implements
INotifyPropertyChanged
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Benday.Presentation
Assembly: Benday.Presentation.dll
Syntax
public abstract class ViewModelBase : INotifyPropertyChanged

Properties

| Edit this page View Source

DebuggingTag

Optional debugging tag for view model instances.

Declaration
public string DebuggingTag { get; set; }
Property Value
Type Description
string
| Edit this page View Source

HasPropertyChangedSubscriber

Gets a value indicating whether there is a subscriber to the PropertyChanged event.

Declaration
public bool HasPropertyChangedSubscriber { get; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

RaisePropertyChanged(string)

Raises the PropertyChanged event for the specified property name.

Declaration
public void RaisePropertyChanged(string propertyName)
Parameters
Type Name Description
string propertyName

The name of the property that changed.

Events

| Edit this page View Source

PropertyChanged

Event raised when a property value changes.

Declaration
public event PropertyChangedEventHandler? PropertyChanged
Event Type
Type Description
PropertyChangedEventHandler

Implements

INotifyPropertyChanged
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com