ElementListCompartment::OnKeyDown Method (DiagramKeyEventArgs^)

 

When the Insert/Enter key is pressed, add a new item. If there is a currently selected item, the new item will be of the same type, otherwise it will be of the default type.

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

public:
virtual void OnKeyDown(
	DiagramKeyEventArgs^ e
) override

Parameters

Return to top
Show: