WindowsFormsHost.OnPropertyChanged(DependencyPropertyChangedEventArgs) WindowsFormsHost.OnPropertyChanged(DependencyPropertyChangedEventArgs) WindowsFormsHost.OnPropertyChanged(DependencyPropertyChangedEventArgs) WindowsFormsHost.OnPropertyChanged(DependencyPropertyChangedEventArgs) Method

定義

強制執行對應之屬性的轉譯。Forces the translation of a mapped property.

protected:
 override void OnPropertyChanged(System::Windows::DependencyPropertyChangedEventArgs e);
protected override void OnPropertyChanged (System.Windows.DependencyPropertyChangedEventArgs e);
override this.OnPropertyChanged : System.Windows.DependencyPropertyChangedEventArgs -> unit
Protected Overrides Sub OnPropertyChanged (e As DependencyPropertyChangedEventArgs)

參數

e
DependencyPropertyChangedEventArgs DependencyPropertyChangedEventArgs DependencyPropertyChangedEventArgs DependencyPropertyChangedEventArgs

識別已變更之屬性的引數,並且提供該屬性的舊值與新值。Arguments that identify the property that changed as well as providing that property's old and new values.

備註

呼叫OnPropertyChanged方法可能需要當祖系項目的屬性已變更,但的區域數值WindowsFormsHost項目尚未變更。Calling the OnPropertyChanged method may be necessary when a property of an ancestor element has changed, but the local value of the WindowsFormsHost element has not changed. 如需詳細資訊,請參閱 Windows Form 和 WPF 屬性對應For more information, see Windows Forms and WPF Property Mapping.

適用於

另請參閱