Interface IRibbonPanelManager
Assembly: Onbox.Revit.dll
Syntax
public interface IRibbonPanelManager
Methods
|
Improve this Doc
View Source
Declaration
PushButton AddPushButton<TExternalCommand>(string name, string image = null, string tooltip = null, string description = null)
where TExternalCommand : class, IExternalCommand, new()
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
image |
|
System.String |
tooltip |
|
System.String |
description |
|
Returns
Type |
Description |
Autodesk.Revit.UI.PushButton |
|
Type Parameters
Name |
Description |
TExternalCommand |
|
|
Improve this Doc
View Source
Declaration
PushButton AddPushButton<TExternalCommand, TAvailability>(string name, string image = null, string tooltip = null, string description = null)
where TExternalCommand : class, IExternalCommand, new()
where TAvailability : class, IExternalCommandAvailability, new()
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
image |
|
System.String |
tooltip |
|
System.String |
description |
|
Returns
Type |
Description |
Autodesk.Revit.UI.PushButton |
|
Type Parameters
Name |
Description |
TExternalCommand |
|
TAvailability |
|
|
Improve this Doc
View Source
AddSeparator()
Declaration
|
Improve this Doc
View Source
AddSlideOut()
Declaration
|
Improve this Doc
View Source
Declaration
SplitButton AddSplitButton(List<PushButtonData> pushButtonDataList)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<Autodesk.Revit.UI.PushButtonData> |
pushButtonDataList |
|
Returns
Type |
Description |
Autodesk.Revit.UI.SplitButton |
|
|
Improve this Doc
View Source
AddStackedItems(RibbonItemData, RibbonItemData)
Declaration
IList<RibbonItem> AddStackedItems(RibbonItemData item1, RibbonItemData item2)
Parameters
Type |
Name |
Description |
Autodesk.Revit.UI.RibbonItemData |
item1 |
|
Autodesk.Revit.UI.RibbonItemData |
item2 |
|
Returns
Type |
Description |
System.Collections.Generic.IList<Autodesk.Revit.UI.RibbonItem> |
|
|
Improve this Doc
View Source
AddStackedItems(RibbonItemData, RibbonItemData, RibbonItemData)
Declaration
IList<RibbonItem> AddStackedItems(RibbonItemData item1, RibbonItemData item2, RibbonItemData item3)
Parameters
Type |
Name |
Description |
Autodesk.Revit.UI.RibbonItemData |
item1 |
|
Autodesk.Revit.UI.RibbonItemData |
item2 |
|
Autodesk.Revit.UI.RibbonItemData |
item3 |
|
Returns
Type |
Description |
System.Collections.Generic.IList<Autodesk.Revit.UI.RibbonItem> |
|
|
Improve this Doc
View Source
Declaration
ToggleButton AddToggleButton<TExternalCommand>(string name, string image = null, string tooltip = null, string description = null)
where TExternalCommand : class, IExternalCommand, new()
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
image |
|
System.String |
tooltip |
|
System.String |
description |
|
Returns
Type |
Description |
Autodesk.Revit.UI.ToggleButton |
|
Type Parameters
Name |
Description |
TExternalCommand |
|
|
Improve this Doc
View Source
Declaration
ToggleButton AddToggleButton<TExternalCommand, TAvailability>(string name, string image = null, string tooltip = null, string description = null)
where TExternalCommand : class, IExternalCommand, new()
where TAvailability : class, IExternalCommandAvailability, new()
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
image |
|
System.String |
tooltip |
|
System.String |
description |
|
Returns
Type |
Description |
Autodesk.Revit.UI.ToggleButton |
|
Type Parameters
Name |
Description |
TExternalCommand |
|
TAvailability |
|
|
Improve this Doc
View Source
Declaration
PushButtonData CreatePushButtonData<TExternalCommand>(string name, string image = null, string tooltip = null, string description = null)
where TExternalCommand : class, IExternalCommand, new()
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
image |
|
System.String |
tooltip |
|
System.String |
description |
|
Returns
Type |
Description |
Autodesk.Revit.UI.PushButtonData |
|
Type Parameters
Name |
Description |
TExternalCommand |
|
|
Improve this Doc
View Source
Declaration
PushButtonData CreatePushButtonData<TExternalCommand, TAvailability>(string name, string image = null, string tooltip = null, string description = null)
where TExternalCommand : class, IExternalCommand, new()
where TAvailability : class, IExternalCommandAvailability, new()
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
image |
|
System.String |
tooltip |
|
System.String |
description |
|
Returns
Type |
Description |
Autodesk.Revit.UI.PushButtonData |
|
Type Parameters
Name |
Description |
TExternalCommand |
|
TAvailability |
|
|
Improve this Doc
View Source
GetPanel()
Declaration
Returns
Type |
Description |
Autodesk.Revit.UI.RibbonPanel |
|
|
Improve this Doc
View Source
GetTabName()
Declaration
Returns
Type |
Description |
System.String |
|