Xamarin.Forms.DefinitionCollection<T> Members

The members of Xamarin.Forms.DefinitionCollection<T> are listed below.

See Also: Inherited members from System.Object

Public Properties

[read-only]
Countint. Gets the number of Xamarin.Forms.IDefinition instances contained in this Xamarin.Forms.DefinitionCollection`1.
[read-only]
IsReadOnlybool. false. Xamarin.Forms.DefinitionCollection`1 instances can have items added to them and removed from them.
default property
Item(int)T. Gets or sets the value indexed by index.

Public Methods

Add(T)
Adds a Xamarin.Forms.IDefinition to the collection.
Clear()
Removes all values from this Xamarin.Forms.DefinitionCollection`1.
Contains(T) : bool
Returns a Boolean value that indicates whether or not this Xamarin.Forms.DefinitionCollection`1 contains the specified Xamarin.Forms.IDefinition.
CopyTo(T[], int)
Copies Xamarin.Forms.IDefinition instances from this Xamarin.Forms.DefinitionCollection`1 to an array, starting at the specified index.
GetEnumerator() : IEnumerator<T>
Returns an enumerator that iterates through the Xamarin.Forms.IDefinition instances in this Xamarin.Forms.DefinitionCollection`1.
IndexOf(T) : int
Returns the index of the first occurrence of item in this Xamarin.Forms.DefinitionCollection`1.
Insert(int, T)
Inserts a Xamarin.Forms.IDefinition into this Xamarin.Forms.DefinitionCollection`1 at the location that is specified by index.
Remove(T) : bool
Removes a Xamarin.Forms.IDefinition from this Xamarin.Forms.DefinitionCollection`1 and returns true if the item was removed.
RemoveAt(int)
Removes an item from this Xamarin.Forms.DefinitionCollection`1.

Public Events

ItemSizeChangedEvent that is raised when the display size of item in the collection changes.

Explicitly Implemented Interface Members

IEnumerable.GetEnumeratorGets an enumerator that can be used to iterate over the Xamarin.Forms.IDefinition instances in this Xamarin.Forms.DefinitionCollection`1.