-
Notifications
You must be signed in to change notification settings - Fork 1
Button Class
Mauricio Jorquera edited this page Nov 14, 2023
·
4 revisions
Namespace: SCADtools.Revit.UI
This class is used to add a Button to the options bar.
The following example creates a Button.
C#
Button button = new Button()
{
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. |