ShapeElement.NavigateTo(DiagramItem, SelectedShapesCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by the Navigate methods to set the focus to the specified DiagramItem.
protected:
bool NavigateTo(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ newFocusItem, Microsoft::VisualStudio::Modeling::Diagrams::SelectedShapesCollection ^ selection);
protected bool NavigateTo (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem newFocusItem, Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection selection);
member this.NavigateTo : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem * Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection -> bool
Protected Function NavigateTo (newFocusItem As DiagramItem, selection As SelectedShapesCollection) As Boolean
Parameters
- newFocusItem
- DiagramItem
The DiagramItem to receive the focus.
- selection
- SelectedShapesCollection
The selection to update. (The selection maintains the focus.)
Returns
True if navigation occurred, false otherwise.