Docs / UI

Glossary: Bindable

The members of Bindable, in alphabetical order.

Color legend method event

The abstract base of a view model.

An abstract class. The styles page shows it in context.

Names are colored by what they are: a property, a method or an event; values and fields keep the plain color.

Methods

PropertyChangedInvoke() 🠆

PropertyChangedInvoke(string propertyName = "") · Protected. Raises OnPropertyChanged. Called from a property’s setter without a name, it names that property ([CallerMemberName]); another property is named with nameof. An empty or null name means every property changed: PropertyChangedInvoke(string.Empty) (with no argument outside a setter, it names the calling method instead).

Parameter Type Description
propertyName string The name of the property that changed. Left out in a property’s setter, it is that property’s name; empty or null means every property changed. Default: "".

Events

OnPropertyChanged 🠆

(string propertyName) · The view model calls PropertyChangedInvoke. The handler gets the name of the property that changed; an empty (or null) name means every property changed.

Parameter Type Description
propertyName string The name of the property that changed; empty or null means every property changed.