Share

RibbonMenuButton Class

Description

This class is used to support the menu button in a ribbon.

The Menu button displays a standard menu in the drop-down list. The menu can be a nested menu with sub-menus. The items in the drop-down list should be of type RibbonMenuItem or RibbonSeparator. Other item types are not supported in the drop-down list. An exception is thrown if an unsupported item is added to the Items collection.

Class Hierarchy

Autodesk.Windows.RibbonItem
    Autodesk.Windows.RibbonCommandItem
        Autodesk.Windows.RibbonButton
            Autodesk.Windows.RibbonListButton
                Autodesk.Windows.RibbonMenuButton

Visual Basic

Public Class RibbonMenuButton
Inherits RibbonListButton

C#

public class RibbonMenuButton : RibbonListButton;

Was this information helpful?