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