ShapeElement.DoKeyboardNavigation Method
Navigates the from shape to shape, 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)
Syntax
'Declaration
Public Function DoKeyboardNavigation ( _
keyData As Keys, _
diagramClientView As DiagramClientView _
) As Boolean
public bool DoKeyboardNavigation(
Keys keyData,
DiagramClientView diagramClientView
)
public:
bool DoKeyboardNavigation(
Keys keyData,
DiagramClientView^ diagramClientView
)
member DoKeyboardNavigation :
keyData:Keys *
diagramClientView:DiagramClientView -> bool
public function DoKeyboardNavigation(
keyData : Keys,
diagramClientView : DiagramClientView
) : boolean
Parameters
keyData
Type: System.Windows.Forms.KeysThe key on the keyboard.
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe client view that contains the diagram.
Return Value
Type: System.Boolean
true if navigation occurred with the keyboard; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.