ClassRadToolTip
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
RadToolTip()
Declaration
public RadToolTip()
RadToolTip(IContainer)
Declaration
public RadToolTip(IContainer container)
Parameters
container
Fields
Properties
CurrentText
Returns the current text if it is already set.
IsDisposed
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.
Declaration
public bool IsDisposed { get; }
Property Value
True if the control has been disposed; otherwise, false.
ToolTipFont
Gets or sets the font used for displaying the tooltip text.
Methods
Dispose(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
Overrides
Show(string)
Sets the RadToolTip text and displays the RadToolTip modally. Uses CursorPosition relative to screen coordinates to position the RadToolTip.
Declaration
public void Show(string text)
Parameters
text
A string containing the new RadToolTip text.
Show(string, Point)
Sets the RadToolTip text and displays the RadToolTip modally. Uses CursorPosition relative to screen coordinates to position the RadToolTip.
Declaration
public void Show(string text, Point point)
Parameters
text
A string containing the new RadToolTip text.
point
A Point containing the offset, in pixels, relative to the upper-left corner of the screen, to display the RadToolTip.
Show(string, Point, int)
Sets the RadToolTip text and displays the RadToolTip modally. Uses CursorPosition relative to screen coordinates to position the RadToolTip.
Declaration
public void Show(string text, Point point, int duration)
Parameters
text
A string containing the new RadToolTip text.
point
A Point containing the offset, in pixels, relative to the upper-left corner of the screen, to display the RadToolTip.
duration
An int containing the duration, in milliseconds, to display the RadToolTip.
Show(string, int)
Sets the RadToolTip text and displays the RadToolTip modally. Uses CursorPosition relative to screen coordinates to position the RadToolTip.
Declaration
public void Show(string text, int duration)
Parameters
text
A string containing the new RadToolTip text.
duration
An int containing the duration, in milliseconds, to display the RadToolTip.
Show(string, int, int)
Sets the RadToolTip text and displays the RadToolTip modally. Uses CursorPosition relative to screen coordinates to position the RadToolTip.
Declaration
public void Show(string text, int x, int y)
Parameters
text
A string containing the new RadToolTip text.
x
The horizontal offset, in pixels, relative to the upper-left corner of the screen, to display the ToolTip.
y
The vertical offset, in pixels, relative to the upper-left corner of the screen, to display the ToolTip.
Show(string, int, int, int)
Sets the RadToolTip text and displays the RadToolTip modally. Uses CursorPosition relative to screen coordinates to position the RadToolTip.
Declaration
public void Show(string text, int x, int y, int duration)
Parameters
text
A string containing the new RadToolTip text.
x
The horizontal offset, in pixels, relative to the upper-left corner of the screen, to display the ToolTip.
y
The vertical offset, in pixels, relative to the upper-left corner of the screen, to display the ToolTip.
duration
An int containing the duration, in milliseconds, to display the RadToolTip.