SelectAction.IsDiagramSelectedOnly(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.
Gets a value indicating whether the diagram is the only selected item in the selection.
protected:
static bool IsDiagramSelectedOnly(Microsoft::VisualStudio::Modeling::Diagrams::SelectedShapesCollection ^ selection);
protected static bool IsDiagramSelectedOnly (Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection selection);
static member IsDiagramSelectedOnly : Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection -> bool
Protected Shared Function IsDiagramSelectedOnly (selection As SelectedShapesCollection) As Boolean
Parameters
- selection
- SelectedShapesCollection
The current selection.
Returns
true if the diagram is the only selected item in the selection. Otherwise, false.