Table of Contents

Class PropertyGridViewModelBase

Namespace
Loehnert.Lisrt.WpfHelpers
Assembly
Loehnert.Lisrt.dll

Represents a base class for a view model shown with a PropertyTools.Wpf.PropertyGrid.

public abstract class PropertyGridViewModelBase : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged, IDataErrorInfo
Inheritance
PropertyChangedBase
PropertyGridViewModelBase
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.PropertyChanged

Remarks

Consider using the "LoehnertPropertyGrid" style key.

Properties

Error

Gets an error message indicating what is wrong with this object.

[Browsable(false)]
public virtual string Error { get; }

Property Value

string

IsNotifying

Gets or sets a value indicating whether property change notification is enabled.

[Browsable(false)]
public override bool IsNotifying { get; set; }

Property Value

bool

this[string]

Gets the error message for the property with the given name.

public virtual string this[string columnName] { get; }

Parameters

columnName string

The name of the property whose error message to get.

Property Value

string

The error message for the property. The default is an empty string ("").