BindableObject.OnPropertyChanged(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelez cette méthode à partir d’une classe enfant pour avertir qu’un changement s’est produit au niveau d’une propriété.
protected virtual void OnPropertyChanged (string propertyName = default);
abstract member OnPropertyChanged : string -> unit
override this.OnPropertyChanged : string -> unit
Paramètres
- propertyName
- String
Nom de la propriété qui a été modifiée.
Remarques
Un BindableProperty déclenche cela par lui-même. Un héritier doit uniquement appeler cela pour les propriétés sans BindableProperty comme magasin principal.