Share via


DiagramKeyEventArgs.KeyCode Property

Gets the keyboard code for a KeyDown or KeyUp event.

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 ReadOnly Property KeyCode As Keys
public Keys KeyCode { get; }
public:
property Keys KeyCode {
    Keys get ();
}
member KeyCode : Keys with get
function get KeyCode () : Keys

Property Value

Type: System.Windows.Forms.Keys

.NET Framework Security

See Also

Reference

DiagramKeyEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace