Partager via


Compartment.OnMouseUp Method

Forwards the event to the compartment shape when the user releases the mouse button when pointing to the compartment.

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

Syntax

'Déclaration
Public Overrides Sub OnMouseUp ( _
    e As DiagramMouseEventArgs _
)
public override void OnMouseUp(
    DiagramMouseEventArgs e
)
public:
virtual void OnMouseUp(
    DiagramMouseEventArgs^ e
) override
abstract OnMouseUp : 
        e:DiagramMouseEventArgs -> unit 
override OnMouseUp : 
        e:DiagramMouseEventArgs -> unit 
public override function OnMouseUp(
    e : DiagramMouseEventArgs
)

Parameters

Remarks

To use this method, the ForwardEventsToParent property must be true.

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace