共用方式為


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 設計工具擴充性