RadToolTip
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. RadToolTip Provides extended functionality by removing the necessity to have a control in the element tree
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class RadToolTip : ToolTip, IComponent, IDisposable, IExtenderProvider
Inheritance: objectMarshalByRefObjectComponentToolTipRadToolTip
Implements:
Inherited Members
Constructors
public RadToolTip()
Fields
public const int VerticalSpacingToCursor = 30
Properties
Returns the current text if it is already set.
public string CurrentText { get; }
Gets a value indicating whether the control has been disposed of. When a control is disposed, it releases all resources that it is using, including any managed resources.
public bool IsDisposed { get; }
True if the control has been disposed; otherwise, false.
Gets or sets the font used for displaying the tooltip text.
public Font ToolTipFont { get; }
A Font that represents the font of the tooltip. This property allows customization of the appearance of the tooltip text.
Methods
Hides this RadToolTip instance.
public void Hide()
Sets the RadToolTip text and displays the RadToolTip modally. Uses CursorPosition relative to screen coordinates to position the RadToolTip.
public void Show(string text, int x, int y, int duration)
A string containing the new RadToolTip text.
xintThe horizontal offset, in pixels, relative to the upper-left corner of the screen, to display the ToolTip.
yintThe vertical offset, in pixels, relative to the upper-left corner of the screen, to display the ToolTip.
durationintAn int containing the duration, in milliseconds, to display the RadToolTip.
Sets the RadToolTip text and displays the RadToolTip modally. Uses CursorPosition relative to screen coordinates to position the RadToolTip.
public void Show(string text, int x, int y)
A string containing the new RadToolTip text.
xintThe horizontal offset, in pixels, relative to the upper-left corner of the screen, to display the ToolTip.
yintThe vertical offset, in pixels, relative to the upper-left corner of the screen, to display the ToolTip.
Sets the RadToolTip text and displays the RadToolTip modally. Uses CursorPosition relative to screen coordinates to position the RadToolTip.
public void Show(string text, int duration)
A string containing the new RadToolTip text.
durationintAn int containing the duration, in milliseconds, to display the RadToolTip.
Sets the RadToolTip text and displays the RadToolTip modally. Uses CursorPosition relative to screen coordinates to position the RadToolTip.
public void Show(string text, Point point, int duration)
A string containing the new RadToolTip text.
pointPointA Point containing the offset, in pixels, relative to the upper-left corner of the screen, to display the RadToolTip.
durationintAn int containing the duration, in milliseconds, to display the RadToolTip.
Sets the RadToolTip text and displays the RadToolTip modally. Uses CursorPosition relative to screen coordinates to position the RadToolTip.
public void Show(string text, Point point)
A string containing the new RadToolTip text.
pointPointA Point containing the offset, in pixels, relative to the upper-left corner of the screen, to display the RadToolTip.
Sets the RadToolTip text and displays the RadToolTip modally. Uses CursorPosition relative to screen coordinates to position the RadToolTip.