共用方式為


SelectedShapesCollection.ShapeSelectionChanged Event

Occurs when the selection has changed.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Event ShapeSelectionChanged As ShapeSelectionChangedEventHandler
public event ShapeSelectionChangedEventHandler ShapeSelectionChanged
public:
 event ShapeSelectionChangedEventHandler^ ShapeSelectionChanged {
    void add (ShapeSelectionChangedEventHandler^ value);
    void remove (ShapeSelectionChangedEventHandler^ value);
}
member ShapeSelectionChanged : IEvent<ShapeSelectionChangedEventHandler,
    EventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace