ShapeElement.DoKeyboardNavigation Method
Navigates the from shape to shape, 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
'宣告
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.Keys
The key on the keyboard.
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The 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.