Skip to content

Show Method (content left dock)

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

Shows itself in the native Revit options bar.

Syntax

C#

public void Show(FrameworkElement content,
            double left = 0,
            Dock dock = Dock.Single
)

Parameters

content
Type: System.Windows FrameworkElement
A FrameworkElement object that represents the container for 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'.