Class TooltipExtensions
Convenience over ITooltip for callers that want a whole tooltip in one call.
public static class TooltipExtensions
- Inheritance
-
TooltipExtensions
- Inherited Members
Methods
BuildContent(ITooltip)
Builds this object's complete tooltip content, icon included.
public static TooltipContent BuildContent(this ITooltip source)
Parameters
sourceITooltipThe object to describe. May be null.
Returns
- TooltipContent
The content, or an empty content when the source is null.
TooltipText(ITooltip)
Builds this object's tooltip and flattens it to rich text.
public static string TooltipText(this ITooltip source)
Parameters
sourceITooltip
Returns
Remarks
For logs, tests, and any caller with only a plain label to write into. The client renders TooltipContent itself and does not use this.