ShapeElement.NavigateTo Method
Navigates to a specific shape in the navigation sequence and updates the focus.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
protected bool NavigateTo( DiagramItem newFocusItem, SelectedShapesCollection selection )
Parameters
- newFocusItem
- Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The shape or field which should be the new focus.
- selection
- Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection
The selection in which the focus is to be changed.
- 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.