共用方式為


Sys.Component.propertyChanged Event

Raised when the raisePropertyChanged method of the current Component object is called.

aComponent.add_propertyChanged(handler);
aComponent.remove_propertyChanged(handler);

Parameters

Parameter

Description

handler

The event handler function to add or remove.

Remarks

Add or remove handler functions by calling the add_propertyChanged and remove_propertyChanged methods. Raise this event from the set_ accessor of a property by calling the raisePropertyChanged method.

See Also

Tasks

Creating Custom Non-Visual Client Components

Reference

Sys.Component Class

Concepts

Defining Custom Component Properties and Raising PropertyChanged Events

Other Resources

Language Reference