共用方式為


SelectedShapesCollection.ShapeSelectionChanging Event

Occurs when the selection is about to change.

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 ShapeSelectionChanging As ShapeSelectionChangingEventHandler
public event ShapeSelectionChangingEventHandler ShapeSelectionChanging
public:
 event ShapeSelectionChangingEventHandler^ ShapeSelectionChanging {
    void add (ShapeSelectionChangingEventHandler^ value);
    void remove (ShapeSelectionChangingEventHandler^ value);
}
member ShapeSelectionChanging : IEvent<ShapeSelectionChangingEventHandler,
    EventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace