共用方式為


RibbonToggleButton.PropertyChanged 事件

適用於版本2

在屬性變更值時發生。

命名空間:  Microsoft.WebMatrix.Extensibility
組件:  Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)

語法

'宣告
Public Event PropertyChanged As PropertyChangedEventHandler
'用途
Dim instance As RibbonToggleButton 
Dim handler As PropertyChangedEventHandler 

AddHandler instance.PropertyChanged, handler
public event PropertyChangedEventHandler PropertyChanged
public:
virtual   event PropertyChangedEventHandler^ PropertyChanged {
    void add (PropertyChangedEventHandler^ value);
    void remove (PropertyChangedEventHandler^ value);
}
abstract PropertyChanged : IEvent<PropertyChangedEventHandler,
    PropertyChangedEventArgs>
override PropertyChanged : IEvent<PropertyChangedEventHandler,
    PropertyChangedEventArgs>
JScript supports the use of events, but not the declaration of new ones.

實作

INotifyPropertyChanged.PropertyChanged

請參閱

參考

RibbonToggleButton 類別

Microsoft.WebMatrix.Extensibility 命名空間