protected SelType GetSelType(Shape shape) { if (shape == null) return SelType.No; if (shape == _partialSelShape) return SelType.Partial; return _selectedShapes.Contains(shape) ? SelType.Yes : SelType.No; }