[]
        
(Showing Draft Content)

C1.iOS.Grid.GridRowColCollection-1

GridRowColCollection<T> Class

Base collection class for columns and rows.

Inheritance
GridRowColCollection<T>
Implements
IList<T>
ICollection<T>
IEnumerable<T>
IEnumerable
IList
ICollection
IReadOnlyList<T>
IReadOnlyCollection<T>
INotifyCollectionChanged
INotifyPropertyChanged
Namespace: C1.iOS.Grid
Assembly: C1.iOS.Grid.dll
Syntax
public abstract class GridRowColCollection<T> : Object, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, INotifyCollectionChanged, INotifyPropertyChanged where T : GridRowCol
Type Parameters
Name Description
T

Constructors

Name Description
GridRowColCollection()

Initializes a new instance of the GridRowColCollection<T> class.

Properties

Name Description
Count

Gets the number of elements contained in the System.Collections.ICollection.

DefaultSize

Gets or sets the default size for the items in the collection.

IsFixedSize

Gets whether the collection size can change.

IsReadOnly

Gets a value indicating whether the System.Collections.Generic.ICollection<> is read-only.

IsSynchronized

Gets a value indicating whether access to the System.Collections.ICollection is synchronized (thread safe).

this[int]

Gets or sets the element at the specified index.

MaxSize

Gets or sets the maximum size for the items in the collection.

MinSize

Gets or sets the minimum size for the items in the collection.

SyncRoot

Gets an object that can be used to synchronize access to the System.Collections.ICollection.

Methods

Name Description
Add(T)

Adds an item to the System.Collections.Generic.ICollection<>.

Clear()

Removes all items from the System.Collections.Generic.ICollection<>.

Contains(object)

Determines whether the System.Collections.IList contains a specific value.

Contains(T)

Determines whether the System.Collections.Generic.ICollection<> contains a specific value.

CopyTo(Array, int)

Copies the elements of the System.Collections.ICollection to an Array, starting at a particular Array index.

CopyTo(T[], int)

Copies the elements of the System.Collections.Generic.ICollection<> to an Array, starting at a particular Array index.

DisableAnimations()

Disable the animations caused by the operations that are performed inside the using block of the returned IDisposable.

GetEnumerator()

Returns an enumerator that iterates through a collection.

IndexOf(object)

Determines the index of a specific item in the System.Collections.IList.

IndexOf(T)

Determines the index of a specific item in the System.Collections.Generic.IList<>.

Insert(int, object)

Inserts an item to the System.Collections.IList at the specified index.

Insert(int, T)

Inserts an item to the System.Collections.Generic.IList<> at the specified index.

Move(int, int)

Moves the item at the from position to to.

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Raises the CollectionChanged event.

OnPropertyChanged(string)

Called when a property changed.

Remove(object)

Removes the first occurrence of a specific object from the System.Collections.IList.

Remove(T)

Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection<>.

RemoveAt(int)

Removes the System.Collections.Generic.IList<> item at the specified index.

Events

Name Description
CollectionChanged

Occurs after the items in the collection changed.

PropertyChanged

Called when a property changed.