ShapeField::DoKeyboardNavigation Method (Keys, DiagramClientView^, DiagramItem^)

 

Navigates in the shape field by using the keyboard.

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

public:
bool DoKeyboardNavigation(
	Keys keyData,
	DiagramClientView^ diagramClientView,
	DiagramItem^ focusedItem
)

Parameters

keyData
Type: System.Windows.Forms::Keys

The key or combination of keys that the user is pressing.

diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView^

The diagram client view.

focusedItem
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^

The shape on the diagram that has focus.

Return Value

Type: System::Boolean

true if navigation occurred; otherwise, false.

Return to top
Show: