LabelTextField.OnKeyDown Method
keys directed to the text field so that we can nudge, resize, scroll, etc. when the text field has the focus.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public Overrides Sub OnKeyDown ( _
e As DiagramKeyEventArgs _
)
public override void OnKeyDown(
DiagramKeyEventArgs e
)
public:
virtual void OnKeyDown(
DiagramKeyEventArgs^ e
) override
abstract OnKeyDown :
e:DiagramKeyEventArgs -> unit
override OnKeyDown :
e:DiagramKeyEventArgs -> unit
public override function OnKeyDown(
e : DiagramKeyEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyEventArgs
The DiagramKeyEventArgs that contains event data.
.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.