Table of Contents

Method SetToolTip

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

SetToolTip(object, bool)

Sets tooltip properties so it will be a simple tooltip.

IRichToolTip SetToolTip(object message, bool systemColors = true)

Parameters

message object

Tooltip message. Text in this parameter can have line breaks.

systemColors bool

Whether to use system colors for the foreground and background.

Returns

IRichToolTip

SetToolTip(object?, object?, MessageBoxIcon?, uint?)

Sets tooltip properties.

IRichToolTip SetToolTip(object? title, object? message, MessageBoxIcon? icon = null, uint? timeoutMilliseconds = null)

Parameters

title object

Tooltip title. If null is specified, tooltip will have no title.

message object

ToolTip message. If null is specified, tooltip will have no message. Text in this parameter can have line breaks.

icon MessageBoxIcon?
timeoutMilliseconds uint?

Returns

IRichToolTip