RibbonPanel Object
Description
A RibbonPanel object represents a panel within a ribbon tab.
Methods
Delete |
Method that deletes the RibbonPanel. |
Move |
Method that moves the ribbon panel. If the panel is docked, calling this method automatically undocks the panel and honors the input values. |
Reposition |
Method that moves the RibbonPanel to a new location within the ribbon tab. |
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
ClientId |
Property that returns the string that uniquely identifies the client. This is the CLSID of the AddIn in a string form, e.g. "{C9A6C580-3817-11D0-BE4E-080036E87B02}". |
CommandControls |
Property that returns the CommandControls collection object that provides access to all the visible controls within the panel. |
DisplayName |
Property that returns the display name of the ribbon panel. |
Docked |
Gets sets whether the ribbon panel docked within the ribbon. |
InternalName |
Property that returns the unique internal name of the ribbon panel. |
Parent |
Property that returns the parent RibbonTab object. |
SlideoutControls |
Property that returns the CommandControls collection object that provides access to all controls in the slideout section of the panel.
 |
SlideOutKeyTip |
Gets and sets the keyboard access key for the slideout controls within the panel. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Visible |
Gets and sets whether the ribbon panel is currently visible in the ribbon. Note that this property applies only when the parent ribbon tab and the ribbon within which the tab lives are currently active. |
Accessed From
RibbonPanels.Add,
RibbonPanels.Item
Samples
Version
Introduced in version 2010