Class UIHoverTooltip
Represents the Tooltip to display on hover
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public record UIHoverTooltip : TextSpan, IEquatable<TextSpan>, IEquatable<UIHoverTooltip>
Constructors
UIHoverTooltip(TextSpan, string)
Initializes a new instance of the UIHoverTooltip class.
Declaration
public UIHoverTooltip(TextSpan span, string tooltip)
Parameters
Type | Name | Description |
---|---|---|
TextSpan | span | The location in the text document where the tooltip must appear. |
string | tooltip | The information to display on hover. |
UIHoverTooltip(int, int, string)
Initializes a new instance of the UIHoverTooltip class.
Declaration
public UIHoverTooltip(int startPosition, int length, string tooltip)
Parameters
Type | Name | Description |
---|---|---|
int | startPosition | The start position of the highlighted text span. |
int | length | The length of the highlighted text span. |
string | tooltip | The information to display on hover. |
Properties
Tooltip
Contain the information to display on hover
Declaration
public string Tooltip { get; }
Property Value
Type | Description |
---|---|
string |