共用方式為


TextBlock.OnPropertyChanged(DependencyPropertyChangedEventArgs) 方法

定義

一或多個裝載相依性屬性變更時呼叫。

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

參數

e
DependencyPropertyChangedEventArgs

相關聯事件的引數。

備註

這個方法會覆寫 FrameworkElement.OnPropertyChanged

適用於

另請參閱