-
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,
ControlToolTip = new ControlToolTip()
{
Title = "Rebar Shape Browser",
Content = "Launch/Close Rebar Shape Browser."
}
};| Name | Description |
|---|---|
| Button() | Initializes a new instance of the Button class. |
| Name | Description |
|---|---|
| ButtonControl | Represents a native Button class. |
| ControlToolTip | 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. |