/// <summary> /// Returns true if all points are selected. /// </summary> /// <returns>True if all points are selected.</returns> public bool AreAllPointsSelected() { // Return true if all points are selected return(PointCollection.All(point => point.Selected)); }