Adds a new dockable pane to the Revit user interface.
Namespace: Autodesk.Revit.UIAssembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void RegisterDockablePane(
DockablePaneId id,
string title,
IDockablePaneProvider provider
)
Parameters
- id DockablePaneId
- Unique identifier for the new pane.
- title String
- String to use for the pane caption.
- provider IDockablePaneProvider
- Your add-in's implementation of the IDockablePaneProvider interface.
Exceptions
| Exception | Condition |
|---|
| ArgumentException | Thrown if a dockable pane with identifier %id% has already been registered. |
See Also
Reference