ReadOnlyCells Members
Represents a read-only collection of data cells.Constructors
Name | Description |
---|---|
ReadOnlyCells(List<Point>) | Initializes a new instance of the ReadOnlyCells class. |
ReadOnlyCells(Point) | Initializes a new instance of the ReadOnlyCells class, and adds a single cell to the collection. |
Fields
Name | Description |
---|---|
Empty static | An empty collection of cells. |
Properties
Name | Description |
---|---|
Count | Gets the number of elements in the collection. |
IsEmpty | Gets whether the collection is empty. |
Item[Int32] | Provides indexed access to the collection elements. |
Rectangle | Gets the rectangle that bounds the cells. |
Methods
Name | Description |
---|---|
Contains(Point) | Returns whether the collection contains a cell with the specified coordinates. |
CopyTo(List<Point>) | Copies the cells contained within the current collection to the specified list. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GetEnumerator() | Returns an enumerator that iterates through the ReadOnlyCells collection. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also