Skip to content
Mauricio Jorquera edited this page Nov 12, 2023 · 15 revisions

SCADtools.Revit.UI.OptionsBar Namespace

LabelCheckBox Class

Description

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 LabelCheckBox.

C#

LabelCheckBox labelCheckBox = new LabelCheckBox()
{
    Label = "Lock",
    MarginLeft = 10
};

Constructors

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

Properties

Label The user-visible text on the Label.
IsChecked Gets or sets whether the CheckBox is checked.
ToolTipTitle Gets or sets the description title that appears as a ToolTip for the item.
Description Gets or sets the description that appears as a ToolTip for the item.
LongDescription Gets or sets the long description that appears as a ToolTip for the item.
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