Table of Contents

Class RichToolTipParams

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Represents the parameters used to configure the appearance and content of a rich tooltip.

public class RichToolTipParams : BaseObjectWithAttr, IBaseObjectWithAttr, IBaseObjectWithId, IBaseObject
Inheritance
RichToolTipParams
Implements
Derived

Remarks

This structure provides a set of optional properties that allow customization of a tooltip's visual style, including colors, fonts, borders, and icons. Each property is nullable, enabling selective customization while falling back to default values for unspecified properties.

Properties

BackgroundBrush

Gets or sets the brush used to paint the background.

BackgroundColor

Gets or sets the background color.

Border

Gets or sets the border settings for the element.

Font

Gets or sets the font used for rendering text.

ForegroundColor

Gets or sets the foreground color to be used for rendering.

Icon

Gets or sets the icon to display in the tooltip.

Image

Gets or sets an image to display in the tooltip.

MaxWidth

Represents the maximum text width as a coordinate value. If text exceeds this width, it may be wrapped into multiple lines.

ScaleFactor

Represents the scale factor to be applied in calculations or transformations.

Text

Gets or sets the text content associated with this instance.

Title

Gets or sets the title associated with this instance.

TitleFont

Gets or sets the font used for rendering the title.

TitleForegroundColor

Gets or sets the foreground color of the title.

Methods

SetBorder(Color, bool, float)

Configures the border settings with the specified color, corner radius, and radius unit.

UsesSystemColors()

Updates the current instance to use system-defined colors for background and foreground elements.