ToolTip

Wisej.Web.ToolTip

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a small rectangular pop-up window that displays a brief description of a control's purpose when the user rests the pointer on the control.

public class ToolTip : Component, IExtenderProvider

Constructors

Initializes a new instance of the ToolTip without a specified container.

Initializes a new instance of the ToolTip class with a specified container.

NameTypeDescription

container

An IContainer that represents the container of the ToolTip extender.

Properties

Boolean: Returns or sets whether the ToolTip provider is currently active. (Default: True)

Nullable<Placement>: Returns or sets the alignment side and position of the tooltips. (Default: null)

Boolean: Returns or sets a value indicating that the control can display HTML in the Text property. (Default: False)

Int32: Returns or sets the automatic delay for the ToolTip. (Default: 500)

Int32: Returns or sets the period of time the ToolTip remains visible if the pointer is stationary on a control with specified ToolTip text.

Color: Returns or sets the text color of the ToolTip. (Default: Color [Empty])

Int32: Returns or sets the time that passes before the ToolTip appears.

Object: Returns or sets the object that contains programmer-supplied data associated with the ToolTip. (Default: null)

ToolTipIcon: Returns or sets a value that defines the type of icon to be displayed alongside the ToolTip text. (Default: Default)

String: Returns or sets the icon name or URL to use as the ToolTip icon. (Default: null)

Methods

Returns true if the ToolTip can offer an extender property to the specified target component.

ParameterTypeDescription

target

The target object to add an extender property to.

Returns: Boolean. true if the ToolTip class can offer one or more extender properties; otherwise, false.

Removes all ToolTip text currently associated with the ToolTip component.

Retrieves the ToolTip text associated with the specified control.

ParameterTypeDescription

control

The Control for which to retrieve the ToolTip text.

Returns: String. A String containing the ToolTip text for the specified control.

Associates ToolTip text with the specified control.

ParameterTypeDescription

control

The Control to associate the ToolTip text with.

caption

The ToolTip text to display when the pointer is on the control.

Shows the tooltip net to the target component.

ParameterTypeDescription

target

A Wisej control or component (i.e. column, header).

text

Text to show in the tooltip.

Shows the tooltip at the specified x and y screen coordinates.

ParameterTypeDescription

text

Text to show in the tooltip.

x

y

Shows the tooltip at the specified location .

ParameterTypeDescription

text

Text to show in the tooltip.

location

Location of the tooltip in screen coordinates.

Implements

NameDescription

All wisej components implement this interface.

Allows an object to serialize itself.

Last updated