-
Notifications
You must be signed in to change notification settings - Fork 1
ControlToolTip Class
Mauricio Jorquera edited this page Nov 13, 2023
·
16 revisions
This class implements the standard tooltip.
The following example creates a LabelCheckBox.
C#
SCADtools.Revit.UI.Button button = new SCADtools.Revit.UI.Button()
{
Label = "...",
MarginLeft = 6,
ControlToolTip = new SCADtools.Revit.UI.ToolTip()
{
ToolTipTitle = "Rebar Shape Browser",
Description = "Launch/Close Rebar Shape Browser."
}
};
Name | Description |
---|---|
ControlToolTip() | Initializes a new instance of the ControlToolTip class. |
Name | Description |
---|---|
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. |
ExpandedContent | Gets or sets the second-level content for the tooltip. |
ExpandedImage | Gets or sets the image to be displayed below the second-level content. |
C#
public ControlToolTip ControlToolTip { get; set; }
This is a simple data class to store the tooltip information. The default value is null.