ShapeSubField.OnKeyPress Method

Called between a key down and key up. To be called, this ShapeSubField must be the focused ShapeSubField in the selection.

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

Syntax

'Declaration
Public Overridable Sub OnKeyPress ( _
    e As DiagramKeyPressEventArgs _
)
public virtual void OnKeyPress(
    DiagramKeyPressEventArgs e
)
public:
virtual void OnKeyPress(
    DiagramKeyPressEventArgs^ e
)
abstract OnKeyPress : 
        e:DiagramKeyPressEventArgs -> unit  
override OnKeyPress : 
        e:DiagramKeyPressEventArgs -> unit
public function OnKeyPress(
    e : DiagramKeyPressEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

ShapeSubField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace