Class BindableBase
Represents base class for bindable objects.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Vortex.Presentation.Wpf
Assembly: Vortex.Presentation.Wpf.dll
Syntax
public class BindableBase : INotifyPropertyChanged
Methods
OnPropertyChanged(String)
Raises System.ComponentModel.INotifyPropertyChanged.PropertyChanged event.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName |
SetProperty<T>(ref T, T, String)
Sets the property and raises System.ComponentModel.INotifyPropertyChanged.PropertyChanged event.
Declaration
protected virtual void SetProperty<T>(ref T member, T val, string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
T | member | Member |
T | val | New value |
System.String | propertyName | Property name |
Type Parameters
Name | Description |
---|---|
T | Property type. |
Events
PropertyChanged
Implementation of System.ComponentModel.INotifyPropertyChanged.PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged