-
Notifications
You must be signed in to change notification settings - Fork 1
ObLabelTextBox Class
Mauricio Jorquera edited this page Feb 10, 2026
·
1 revision
Namespace: SCADtools.Revit.UI.OptionsBar
This class is used to add an element that combines a Label with a TextBox to the options bar.
The following example creates a ObLabelTextBox.
C#
ObLabelTextBox labelTextBox = new ObLabelTextBox("Spacing", "20")
{
ControlWidth = 52,
MarginLeft = 10
};| Name | Description |
|---|---|
| ObLabelTextBox() | Initializes a new instance of the ObLabelTextBox class. |
| ObLabelTextBox(string label) | Initializes a new instance of the ObLabelTextBox class. |
| ObLabelTextBox(string label, string text) | Initializes a new instance of the ObLabelTextBox class. |
| Name | Description |
|---|---|
| ControlWidth | Gets or sets the width of the TextBox. |
| ObExpandedToolTip | This class implements the standard tooltip. |
| 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. |
| ShowLabel | Gets or sets the value indicating whether the label text is visible. |
| Text | Gets or sets the text contents of the TextBox. |