-
Notifications
You must be signed in to change notification settings - Fork 1
ObButton Class
Mauricio Jorquera edited this page Feb 10, 2026
·
6 revisions
Namespace: SCADtools.Revit.UI.OptionsBar
This class is used to add a Button to the options bar.
The following example creates a Button.
C#
ObButton button = new ObButton()
{
Label = "...",
MarginLeft = 6,
ObExpandedToolTip = new ObExpandedToolTip()
{
Title = "Rebar Shape Browser",
Content = "Launch/Close Rebar Shape Browser."
}
};| Name | Description |
|---|---|
| ObButton() | Initializes a new instance of the Button class. |
| ObButton(string label) | Initializes a new instance of the Button class. |
| Name | Description |
|---|---|
| ObExpandedToolTip | This class implements the standard tooltip. |
| Label | The user-visible text on the Button. |
| MarginLeft | Gets or sets the separation of the Control with some control that is to its left. |