MenuItemCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
相關 MenuItem 物件的群組。
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
- 繼承
-
MenuItemCollection
- 實作
建構函式
MenuItemCollection() |
相關 MenuItem 物件的群組。 |
屬性
Count |
相關 MenuItem 物件的群組。 |
IsReadOnly |
相關 MenuItem 物件的群組。 |
Item[Int32] |
相關 MenuItem 物件的群組。 |
方法
Add(MenuItem) |
相關 MenuItem 物件的群組。 |
Clear() |
相關 MenuItem 物件的群組。 |
Contains(MenuItem) |
相關 MenuItem 物件的群組。 |
CopyTo(MenuItem[], Int32) |
相關 MenuItem 物件的群組。 |
GetEnumerator() |
相關 MenuItem 物件的群組。 |
IndexOf(MenuItem) |
相關 MenuItem 物件的群組。 |
Insert(Int32, MenuItem) |
相關 MenuItem 物件的群組。 |
Remove(MenuItem) |
相關 MenuItem 物件的群組。 |
RemoveAt(Int32) |
相關 MenuItem 物件的群組。 |
明確介面實作
IEnumerable.GetEnumerator() |
相關 MenuItem 物件的群組。 |
INotifyCollectionChanged.CollectionChanged |
相關 MenuItem 物件的群組。 |
擴充方法
ForEach<T>(IEnumerable<T>, Action<T>) |
供 Xamarin.Forms 平台內部使用。 |
GroupToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>) |
供 Xamarin.Forms 平台內部使用。 |
IndexOf<T>(IEnumerable<T>, T) |
供 Xamarin.Forms 平台內部使用。 |
IndexOf<T>(IEnumerable<T>, Func<T,Boolean>) |
供 Xamarin.Forms 平台內部使用。 |
Prepend<T>(IEnumerable<T>, T) |
供 Xamarin.Forms 平台內部使用。 |