-
Notifications
You must be signed in to change notification settings - Fork 1
OptionsBar Class
Mauricio Jorquera edited this page Feb 10, 2026
·
18 revisions
Namespace: SCADtools.Revit.UI.OptionsBar
This class represents a options bar that will be displayed in the native Revit options bar.
The following example creates a OptionsBar.
C#
OptionsBar optionsBar = new OptionsBar();| Name | Description |
|---|---|
| OptionsBar() | Initializes a new instance of the OptionsBar class. |
| Name | Description |
|---|---|
| IsEnabled | Gets or sets the value that indicates whether this OptionsBar is enabled. |
| Name | Description |
|---|---|
| Hide | Makes the custom options bar invisible in Revit. |
| Show(string title, double left, Dock dock) | Shows itself in the native Revit options bar. |
| AddControl(UIElement control) | Adds a new control to the Options Bar and applies the current theme. |