2025.3 Class
Changes 0
C

RibbonPanel

Description:
Represents a panel added by an External Application or External Command into the Add-Ins tab.
Remarks:
The Panel class provides read and write access to the RibbonItems contained in the panel. Use of this class is not supported in Revit Macros.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.RibbonPanel
public class RibbonPanel
Name Return Type Description Inherited From
M AddItem(RibbonItemData) RibbonItem Adds a Ribbon item to the panel.
M AddSeparator() None Adds a new Separator to the panel.
M AddSlideOut() None Adds a slideout to the current panel.
M AddStackedItems(RibbonItemData, RibbonItemData) IList<RibbonItem> Adds two stacked items to the panel.
M AddStackedItems(RibbonItemData, RibbonItemData, RibbonItemData) IList<RibbonItem> Adds three stacked items to the panel.
M Equals(Object) Boolean Determines whether the specified Object is equal to the current Object . (Overrides Object . Equals(Object) )
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetItems() IList<RibbonItem> Gets a copy of the collection of RibbonItems assigned to the RibbonPanel.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Enabled bool Gets or sets a value indicating whether the RibbonPanel can respond to user interaction.
P Name string Gets or sets the name of the RibbonPanel.
P Title string Gets or sets the text of the RibbonPanel.
P Visible bool Gets or sets a value indicating whether the RibbonPanel is displayed.