BindableObject.OnPropertyChanging(String) Método
Definição
Chame esse método de uma classe filho para notificar que uma alteração vai acontecer em uma propriedade.Call this method from a child class to notify that a change is going to happen on a property.
protected virtual void OnPropertyChanging (string propertyName = default);
abstract member OnPropertyChanging : string -> unit
override this.OnPropertyChanging : string -> unit
Parâmetros
- propertyName
- String
O nome da propriedade que está mudando.The name of the property that is changing.
Comentários
Um BindableProperty dispara isso por si só.A BindableProperty triggers this by itself. Um inheritor só precisa chamá-lo para propriedades sem BindableProperty como o armazenamento de back-end.An inheritor only needs to call this for properties without BindableProperty as the backend store.