Compartment::OnKeyDown Method (DiagramKeyEventArgs^)

 

Forwards the event to the compartment shape when the user holds a key down.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual void OnKeyDown(
	DiagramKeyEventArgs^ e
) override

To use this method, the ForwardEventsToParent property must be true.

Return to top
Show: