Condividi tramite


Compartment.OnKeyDown(DiagramKeyEventArgs) Method

Definition

Overrides OnKeyDown to expand/collapse the compartment when the right/left key is pressed.

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)

Parameters

Applies to