共用方式為


ShapeField.DoKeyboardNavigation(Keys, DiagramClientView, DiagramItem) Method

Definition

Calls the appropriate navigation method on the shape field.

public:
 bool DoKeyboardNavigation(System::Windows::Forms::Keys keyData, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView, Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ focusedItem);
public bool DoKeyboardNavigation (System.Windows.Forms.Keys keyData, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView, Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem focusedItem);
member this.DoKeyboardNavigation : System.Windows.Forms.Keys * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> bool
Public Function DoKeyboardNavigation (keyData As Keys, diagramClientView As DiagramClientView, focusedItem As DiagramItem) As Boolean

Parameters

keyData
Keys

Keyboard data indicating keys that are currently pressed (includes modifier keys).

diagramClientView
DiagramClientView

Diagram client view where navigation should occur.

focusedItem
DiagramItem

Currently focused diagram item.

Returns

True if navigation occurred, false otherwise.

Applies to