ObservableObject Class |
Namespace: DW.SharpTools
public abstract class ObservableObject : INotifyPropertyChanged
The ObservableObject type exposes the following members.
Name | Description | |
---|---|---|
![]() | ObservableObject | Initializes a new instance of the ObservableObject class |
Name | Description | |
---|---|---|
![]() | NotifyPropertyChanged(String) |
Raises PropertyChanged.
|
![]() | NotifyPropertyChangedT(ExpressionFuncT) |
Raises PropertyChanged.
|
Name | Description | |
---|---|---|
![]() | PropertyChanged |
Occurs when a property value changes.
|
public class MainViewModel : ObservableObject { public char Value { get { return _value; } set { _value = value; NotifyPropertyChanged(() => Value); } } private char _value; }