ShapeField.DoKeyboardNavigation Method
Navigates in the shape field by using the keyboard.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaración
Public Function DoKeyboardNavigation ( _
keyData As Keys, _
diagramClientView As DiagramClientView, _
focusedItem As DiagramItem _
) As Boolean
public bool DoKeyboardNavigation(
Keys keyData,
DiagramClientView diagramClientView,
DiagramItem focusedItem
)
public:
bool DoKeyboardNavigation(
Keys keyData,
DiagramClientView^ diagramClientView,
DiagramItem^ focusedItem
)
member DoKeyboardNavigation :
keyData:Keys *
diagramClientView:DiagramClientView *
focusedItem:DiagramItem -> bool
public function DoKeyboardNavigation(
keyData : Keys,
diagramClientView : DiagramClientView,
focusedItem : DiagramItem
) : boolean
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.
.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.