Click or drag to resize

PropertyChangedAlerterOnPropertyChanged Method

Executes the property changed action. This alerts subscribers to its change in value.

Namespace:  butterflow_ui
Assembly:  butterflow-ui (in butterflow-ui.exe) Version: 1.1.0.42906 (1.0.0.0)
Syntax
C#
protected virtual void OnPropertyChanged(
	string name = null
)

Parameters

name (Optional)
Type: SystemString
(Optional) The name of the property.
Examples
This will automatically pass in "SomeProperty" as the property name, derived useing the CallerMemberNameAttribute attribute.
Automatic Property Detection
public bool SomeProperty
{
    get
    {
        return this.someProperty;
    }
    set
    {
        this.someProperty = value;
        OnPropertyChanged();
    }
}
See Also