SelectAction.IsDiagramSelectedOnly(SelectedShapesCollection) Method

Definition

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.

Applies to