[Command(null, "Select all shapes")] public bool SelectAll(bool run = true) { if (run) { _selectedShapes.AddRange(_doc.Shapes); RecreateSelectionAdorners(); } return _doc.Shapes.Count != 0; }