Table of Contents

Method SetToolTip

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

SetToolTip(object, bool)

Sets simple tooltip contents.

public virtual IRichToolTip SetToolTip(object message, bool systemColors = true)

Parameters

message object

Tooltip message.

systemColors bool

If true, sets tooltip colors to SystemColorInfo.

Returns

IRichToolTip

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

Sets tooltip contents.

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

Parameters

title object

Tooltip title.

message object

Tooltip message.

icon MessageBoxIcon?

Tooltip standard icon.

timeoutMilliseconds uint?

Timeout in milliseconds after which tooltip will be hidden. Optional. If not specified, default timeout value is used. If 0 is specified, tooltip will not be hidden after timeout.

Returns

IRichToolTip