什么在 UWP 中调用 Dependency属性 的 属性-changed 回调?

What invokes the Property-changed callback of DependencyProperty in UWP?

UWP 中 Dependency属性 的文档指出 属性 更改的回调在 "the system has determined that there is an effective property value change" 时被调用。谁能更具体地告诉我这是什么时候?

例如,如果依赖项属性-实例的 属性 发生更改,似乎不会调用回调,即使我在该 属性 上实现了 INotify属性Changed =19=].

我知道有一个类似的问题,但那个问题是关于 WPF 依赖性的属性,这不是一回事。

Can anybody tell me more specifically when this is?

每当依赖项 属性 设置为新值时,无论是由于某些数据绑定、动画、样式还是其他原因。

For example it seems as if the callback is not invoked if a property of a DependencyProperty-instance is changed, even if I implement INotifyPropertyChanged on that property.

INotifyPropertyChanged 与依赖属性无关。依赖属性在继承自 DependencyObject 的 classes 中定义。这些通常是控件或其他类型的 UI 元素。

INotifyPropertyChanged 接口通常在需要向视图发出更改通知的视图模型 class 中实现,并且不从某些特定框架 class 继承。