Bagikan melalui


ShapeField.DoKeyboardNavigation Method

Navigates in the shape field by using the keyboard.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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: Keys

    The key or combination of keys that the user is pressing.

Return Value

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

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace