共用方式為


ShapeElement.DoKeyboardNavigation(Keys, DiagramClientView) Method

Definition

Calls the appropriate navigation method on the shape.

public:
 bool DoKeyboardNavigation(System::Windows::Forms::Keys keyData, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView);
public bool DoKeyboardNavigation (System.Windows.Forms.Keys keyData, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView);
member this.DoKeyboardNavigation : System.Windows.Forms.Keys * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> bool
Public Function DoKeyboardNavigation (keyData As Keys, diagramClientView As DiagramClientView) 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.

Returns

True if navigation occurred, false otherwise.

Applies to