Partager via


MenuItemCollection Class

Definition

A group of related MenuItem objects.

public sealed class MenuItemCollection : System.Collections.Generic.ICollection<Xamarin.Forms.MenuItem>, System.Collections.Generic.IEnumerable<Xamarin.Forms.MenuItem>, System.Collections.Generic.IList<Xamarin.Forms.MenuItem>, System.Collections.Specialized.INotifyCollectionChanged
type MenuItemCollection = class
    interface seq<MenuItem>
    interface IEnumerable
    interface IList<MenuItem>
    interface ICollection<MenuItem>
    interface INotifyCollectionChanged
Inheritance
System.Object
MenuItemCollection
Implements
System.Collections.Generic.ICollection<T> System.Collections.Generic.ICollection<MenuItem> System.Collections.Generic.IEnumerable<T> System.Collections.Generic.IEnumerable<MenuItem> System.Collections.Generic.IList<MenuItem> System.Collections.IEnumerable System.Collections.Specialized.INotifyCollectionChanged

Constructors

MenuItemCollection()

Properties

Count
IsReadOnly
Item[Int32]

Methods

Add(MenuItem)
Clear()
Contains(MenuItem)
CopyTo(MenuItem[], Int32)
GetEnumerator()
IndexOf(MenuItem)
Insert(Int32, MenuItem)
Remove(MenuItem)
RemoveAt(Int32)

Explicit Interface Implementations

IEnumerable.GetEnumerator()
INotifyCollectionChanged.CollectionChanged

Extension Methods

ForEach<T>(IEnumerable<T>, Action<T>)

For internal use by the Xamarin.Forms platform.

GroupToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)

For internal use by the Xamarin.Forms platform.

IndexOf<T>(IEnumerable<T>, T)

For internal use by the Xamarin.Forms platform.

IndexOf<T>(IEnumerable<T>, Func<T,Boolean>)

For internal use by the Xamarin.Forms platform.

Prepend<T>(IEnumerable<T>, T)

For internal use by the Xamarin.Forms platform.

Applies to