[]
        
(Showing Draft Content)

C1.Xamarin.Forms.Grid.GridRowColCollection-1

GridRowColCollection<T> Class

Base collection class for columns and rows.

Inheritance
GridRowColCollection<T>
Namespace: C1.Xamarin.Forms.Grid
Assembly: C1.Xamarin.Forms.Grid.dll
Syntax
public abstract class GridRowColCollection<T> : IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, 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 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 ICollection<T> is read-only.

IsSynchronized

Gets a value indicating whether access to the 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 ICollection.

Methods

Name Description
Add(T)

Adds an item to the ICollection<T>.

Clear()

Removes all items from the ICollection<T>.

Contains(object)

Determines whether the IList contains a specific value.

Contains(T)

Determines whether the ICollection<T> contains a specific value.

CopyTo(Array, int)

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

CopyTo(T[], int)

Copies the elements of the ICollection<T> 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 IList.

IndexOf(T)

Determines the index of a specific item in the IList<T>.

Insert(int, object)

Inserts an item to the IList at the specified index.

Insert(int, T)

Inserts an item to the IList<T> 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 IList.

Remove(T)

Removes the first occurrence of a specific object from the ICollection<T>.

RemoveAt(int)

Removes the IList<T> item at the specified index.

Events

Name Description
CollectionChanged

Occurs after the items in the collection changed.

PropertyChanged

Called when a property changed.