Compartment.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.
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)