InvokeEditorAction.OnDragCompleted Method
Users tend to drag across the text, thinking they will select the text. Therefore we need to respond to this event and invoke the editor.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Protected Overrides Sub OnDragCompleted ( _
e As MouseActionEventArgs _
)
protected override void OnDragCompleted(
MouseActionEventArgs e
)
protected:
virtual void OnDragCompleted(
MouseActionEventArgs^ e
) override
abstract OnDragCompleted :
e:MouseActionEventArgs -> unit
override OnDragCompleted :
e:MouseActionEventArgs -> unit
protected override function OnDragCompleted(
e : MouseActionEventArgs
)
Parameters
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.