Compartment.OnKeyPress(DiagramKeyPressEventArgs) 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 OnKeyPress to forward events to parent shape if ForwardEventsToParent == true.
public:
override void OnKeyPress(Microsoft::VisualStudio::Modeling::Diagrams::DiagramKeyPressEventArgs ^ e);
public override void OnKeyPress (Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyPressEventArgs e);
override this.OnKeyPress : Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyPressEventArgs -> unit
Public Overrides Sub OnKeyPress (e As DiagramKeyPressEventArgs)