RibbonPanel Class

RibbonPanel Class

Represents a panel added by an External Application or External Command into the Add-Ins tab.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.UIRibbonPanel

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public class RibbonPanel
Public Class RibbonPanel
public ref class RibbonPanel
type RibbonPanel = class end

The RibbonPanel type exposes the following members.

Properties
 NameDescription
Public propertyEnabledGets or sets a value indicating whether the RibbonPanel can respond to user interaction.
Public propertyNameGets or sets the name of the RibbonPanel.
Public propertyTitleGets or sets the text of the RibbonPanel.
Public propertyVisibleGets or sets a value indicating whether the RibbonPanel is displayed.
Top
Methods
 NameDescription
Public methodAddItem Adds a Ribbon item to the panel.
Public methodAddSeparatorAdds a new Separator to the panel.
Public methodAddSlideOut Adds a slideout to the current panel.
Public methodAddStackedItems(RibbonItemData, RibbonItemData) Adds two stacked items to the panel.
Public methodAddStackedItems(RibbonItemData, RibbonItemData, RibbonItemData) Adds three stacked items to the panel.
Public methodEquals Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object))
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetItemsGets a copy of the collection of RibbonItems assigned to the RibbonPanel.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
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.
See Also