ValueTranslationService.PropertyInvalidated 事件

[本文档仅供预览,在以后的发行版中可能会发生更改。包含的空白主题用作占位符。]

在某个属性因依赖项属性中的更改而需要使之失效时发生。

命名空间:  Microsoft.Windows.Design.Services
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public MustOverride Event PropertyInvalidated As EventHandler(Of PropertyInvalidatedEventArgs)
public abstract event EventHandler<PropertyInvalidatedEventArgs> PropertyInvalidated
public:
virtual  event EventHandler<PropertyInvalidatedEventArgs^>^ PropertyInvalidated {
    void add (EventHandler<PropertyInvalidatedEventArgs^>^ value);
    void remove (EventHandler<PropertyInvalidatedEventArgs^>^ value);
}
abstract PropertyInvalidated : IEvent<EventHandler<PropertyInvalidatedEventArgs>,
    PropertyInvalidatedEventArgs>
JScript 不支持事件。

.NET Framework 安全性

请参见

参考

ValueTranslationService 类

Microsoft.Windows.Design.Services 命名空间

DesignModeValueProvider

其他资源

演练:在设计时更改属性的行为

WPF 设计器扩展性