WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RibbonOptionDropDownCollection

    Show / Hide Table of Contents

    Class RibbonOptionDropDownCollection

    RibbonOptionDropDownCollection class

    Inheritance
    System.Object
    System.Collections.CollectionBase
    RibbonOptionDropDownCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.GetEnumerator()
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnClear()
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.OnClearComplete()
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class RibbonOptionDropDownCollection : CollectionBase, IList, ICollection, IEnumerable

    Constructors

    RibbonOptionDropDownCollection(RibbonDropDownContainer)

    Constructor for RibbonOptionDropDownCollection

    Declaration
    public RibbonOptionDropDownCollection(RibbonDropDownContainer sender)
    Parameters
    Type Name Description
    RibbonDropDownContainer sender

    The RibbonDropDownContainer instance.

    Properties

    Item[Int32]

    Gets the index of for the RibbonOptionDropDownCollection

    Declaration
    public ControlItem this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index

    The index of the ControlItem

    Property Value
    Type Description
    ControlItem

    Methods

    Add(ControlItem)

    Adds the range type to the list

    Declaration
    public int Add(ControlItem itemType)
    Parameters
    Type Name Description
    ControlItem itemType

    The Control item type.

    Returns
    Type Description
    System.Int32

    Contains(ControlItem)

    Returns whether the list contains the RibbonOptionDropDownCollection type

    Declaration
    public bool Contains(ControlItem itemType)
    Parameters
    Type Name Description
    ControlItem itemType

    The Control item type.

    Returns
    Type Description
    System.Boolean

    FindByName(String)

    searches the name in the list

    Declaration
    public ControlItem FindByName(string name)
    Parameters
    Type Name Description
    System.String name

    To find the control item by name.

    Returns
    Type Description
    ControlItem

    IndexOf(ControlItem)

    Returns the index of the ControlItem

    Declaration
    public int IndexOf(ControlItem itemType)
    Parameters
    Type Name Description
    ControlItem itemType

    The Control item type.

    Returns
    Type Description
    System.Int32

    Insert(Int32, ControlItem)

    Inserts teh ControlItem into the list

    Declaration
    public void Insert(int index, ControlItem itemType)
    Parameters
    Type Name Description
    System.Int32 index

    The index of the control item which needs to be inserted.

    ControlItem itemType

    The Control item type.

    OnInsert(Int32, Object)

    Overrides the oninsert method

    Declaration
    protected override void OnInsert(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value
    Overrides
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)

    Remove(ControlItem)

    Removes the type from the list

    Declaration
    public void Remove(ControlItem itemType)
    Parameters
    Type Name Description
    ControlItem itemType

    The Control item type.

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved