Skip to content

Show Method (elements left dock)

Mauricio Jorquera edited this page Nov 13, 2023 · 5 revisions

Shows itself in the native Revit options bar.

Syntax

C#

public void Show(List<UIElement> elements,
            double left = 0,
            Dock dock = Dock.Single
)

Parameters

elements
Type: System.Collections.Generic List UIElement
An array of UIElement objects representing the controls to be displayed in the options bar.

left
Type: System Double
The separation with some control that is to its left.

dock
Type: SCADtools.Revit.UI Dock
The docking style of the custom options bar in relation to the native Revit options bar, specified as either 'Single' or 'Combined'.

Clone this wiki locally