Skip to content

ObLabelCheckBox Class

Mauricio Jorquera edited this page Feb 10, 2026 · 1 revision

Description

Namespace: SCADtools.Revit.UI.OptionsBar

This class is used to add an element that combines a Checkbox with a Label to the options bar.

Example

The following example creates a ObLabelCheckBox.

C#

LabelCheckBox ObLabelCheckBox = new ObLabelCheckBox("Lock")
{
    MarginLeft = 10
};

Constructors

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

Properties

Name Description
ObExpandedToolTip This class implements the standard tooltip.
EnabledElements Gets or sets a list of UIElement objects that can be dynamically enabled or disabled based on the state of the IsChecked property.
IsChecked Gets or sets whether the CheckBox is checked.
Label The user-visible text on the Label.
MarginLeft Gets or sets the separation of the Control with some control that is to its left.

Clone this wiki locally