alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Interface IRibbonItems

    Supports events which are raised before System.Windows.Forms.ToolStripItem item will be added to collection and before System.Windows.Forms.ToolStripItem item will be removed from collection. Also method for removing System.Windows.Forms.ToolStripItem item at the specific index is represented.

    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public interface IRibbonItems : ICollection, IEnumerable

    Properties

    Item[Int32]

    Gets the item at the specified index.

    Declaration
    ToolStripItem this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type
    System.Windows.Forms.ToolStripItem

    Methods

    add_BeforeAddItem(RibbonItemsEventHandler)

    Declaration
    void add_BeforeAddItem(RibbonItemsEventHandler value)
    Parameters
    Type Name Description
    RibbonItemsEventHandler value

    add_BeforeRemoveItem(RibbonItemsEventHandler)

    Declaration
    void add_BeforeRemoveItem(RibbonItemsEventHandler value)
    Parameters
    Type Name Description
    RibbonItemsEventHandler value

    remove_BeforeAddItem(RibbonItemsEventHandler)

    Declaration
    void remove_BeforeAddItem(RibbonItemsEventHandler value)
    Parameters
    Type Name Description
    RibbonItemsEventHandler value

    remove_BeforeRemoveItem(RibbonItemsEventHandler)

    Declaration
    void remove_BeforeRemoveItem(RibbonItemsEventHandler value)
    Parameters
    Type Name Description
    RibbonItemsEventHandler value

    RemoveAt(Int32)

    Removes the System.Windows.Forms.ToolStripItem item at the specified index.

    Declaration
    void RemoveAt(int idx)
    Parameters
    Type Name Description
    System.Int32 idx

    The zero-based index of the item to remove.

    Events

    BeforeAddItem

    Occurs before System.Windows.Forms.ToolStripItem item will be added to collection.

    Declaration
    event RibbonItemsEventHandler BeforeAddItem
    Event Type
    Type
    RibbonItemsEventHandler

    BeforeRemoveItem

    Occurs before System.Windows.Forms.ToolStripItem item will be removed from collection.

    Declaration
    event RibbonItemsEventHandler BeforeRemoveItem
    Event Type
    Type
    RibbonItemsEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved