共用方式為


NotifyPropertyChangedObject.RaiseNotifyPropertyChangedEvent(String) Method

Definition

Raises the PropertyChanged event.

protected void RaiseNotifyPropertyChangedEvent (string? propertyName = default);
member this.RaiseNotifyPropertyChangedEvent : string -> unit
Protected Sub RaiseNotifyPropertyChangedEvent (Optional propertyName As String = Nothing)

Parameters

propertyName
String

The name of the property being set.

This parameter should be onitted value when this method is called from a property's setter.

Applies to