Skip to content

Button Class

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

Description

Namespace: SCADtools.Revit.UI.OptionsBar

This class is used to add a Button to the options bar.

Example

The following example creates a Button.

C#

Button button = new Button()
{
    Label = "Lock",
    MarginLeft = 10
};

Constructors

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

Properties

Name Description
Label The user-visible text on the Label.
IsChecked Gets or sets whether the CheckBox is checked.
ControlToolTip This class implements the standard tooltip.
MarginLeft Gets or sets the separation of the Control with some control that is to its left.
CheckBoxControl Represents a native CheckBox class.

Clone this wiki locally