共用方式為


MouseAction.OnDragCompleted Method

Alerts listeners that the drag operation has been completed.

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

Syntax

'宣告
Protected Overridable Sub OnDragCompleted ( _
    e As MouseActionEventArgs _
)
protected virtual void OnDragCompleted(
    MouseActionEventArgs e
)
protected:
virtual void OnDragCompleted(
    MouseActionEventArgs^ e
)
abstract OnDragCompleted : 
        e:MouseActionEventArgs -> unit 
override OnDragCompleted : 
        e:MouseActionEventArgs -> unit 
protected function OnDragCompleted(
    e : MouseActionEventArgs
)

Parameters

Remarks

Set e.ActionRequest to ActionRequest.CompleteAction to complete the MouseAction and deactivate it.

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace