共用方式為


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

'宣告
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

Return Value

Type: System.Boolean
true if navigation occurred; otherwise, false.

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace