Skip to content

OptionsBar Class

Mauricio Jorquera edited this page Feb 10, 2026 · 18 revisions

Description

Namespace: SCADtools.Revit.UI.OptionsBar

This class represents a options bar that will be displayed in the native Revit options bar.

Example

The following example creates a OptionsBar.

C#

OptionsBar optionsBar = new OptionsBar();

Constructors

Name Description
OptionsBar() Initializes a new instance of the OptionsBar class.

Properties

Name Description
IsEnabled Gets or sets the value that indicates whether this OptionsBar is enabled.

Methods

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.

Clone this wiki locally