Compartment.OnKeyPress(DiagramKeyPressEventArgs) Method

Definition

Overrides OnKeyPress to forward events to parent shape if ForwardEventsToParent == true.

public:
 override void OnKeyPress(Microsoft::VisualStudio::Modeling::Diagrams::DiagramKeyPressEventArgs ^ e);

Parameters

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022