Skip to content

OptionsBar Class

Mauricio Jorquera edited this page Nov 14, 2023 · 14 revisions

Description

Namespace: SCADtools.Revit.UI

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(List elements, double left, Dock dock) Shows itself in the native Revit options bar.
Show(FrameworkElement content, double left, Dock dock) Shows itself in the native Revit options bar.
Clone this wiki locally