TextBlock.OnPropertyChanged(DependencyPropertyChangedEventArgs) 方法

定义

当一个或多个托管依赖属性的值发生更改时调用。Called when the value one or more hosted dependency properties changes.

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

关联事件的自变量。Arguments for the associated event.

注解

此方法重写 FrameworkElement.OnPropertyChangedThis method overrides FrameworkElement.OnPropertyChanged.

适用于

另请参阅