Click or drag to resize

NotifyChangedValueT Class

Helper class that wraps a single value of type T and implements the INotifyPropertyChanged interface, so that changes to the value can be monitored by the Gui.
Inheritance Hierarchy
SystemObject
  Altaxo.GuiNotifyChangedValueT

Namespace: Altaxo.Gui
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class NotifyChangedValue<T> : INotifyPropertyChanged

Type Parameters

T
Type of the value to wrap.

The NotifyChangedValueT type exposes the following members.

Constructors
 NameDescription
Public methodNotifyChangedValueT Empty constructor, which sets the value to the defaulting one.
Public methodNotifyChangedValueT(T) Constructs the class with the given value.
Top
Properties
 NameDescription
Public propertyValue Gets/sets the value. If the value set is different from the old one, the PropertyChanged event is triggered.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventPropertyChanged 
Top
See Also