Count

GridShapeCollection.Count property

public int Count { get; }

也可以看看