ElementListCompartment.OnKeyDown(DiagramKeyEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
override void OnKeyDown(Microsoft::VisualStudio::Modeling::Diagrams::DiagramKeyEventArgs ^ e);
public override void OnKeyDown (Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyEventArgs e);
override this.OnKeyDown : Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyEventArgs -> unit
Public Overrides Sub OnKeyDown (e As DiagramKeyEventArgs)