Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs) Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs) Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs) Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs) Method

定义

重写 OnPropertyChanged(DependencyPropertyChangedEventArgs)DependencyObject 实现,以同时调用任何响应类型 Freezable 不断变化的依赖属性的 Changed 处理程序。Overrides the DependencyObject implementation of OnPropertyChanged(DependencyPropertyChangedEventArgs) to also invoke any Changed handlers in response to a changing dependency property of type Freezable.

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

包含有关已更改的属性的信息及其旧值和新值的事件数据。Event data that contains information about which property changed, and its old and new values.

注解

事件数据只包含其自身的Freezable相关信息。The event data contains information about only the Freezable itself. 必须通过Changed处理程序获取任何子属性信息。Any sub-property information must be obtained through the Changed handlers.

适用于