Class 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
Inheritance
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class RadToolTip : ToolTip
Constructors
RadToolTip()
Declaration
public RadToolTip()
RadToolTip(IContainer)
Declaration
public RadToolTip(IContainer container)
Parameters
System.ComponentModel.IContainer
container
|
RadToolTip(RootRadElement)
Fields
Padding
Declaration
public const int Padding = 10
Field Value
System.Int32
|
VerticalSpacingToCursor
Declaration
public const int VerticalSpacingToCursor = 30
Field Value
System.Int32
|
Properties
CurrentText
Returns the current text if it is alredy set.
Declaration
public string CurrentText { get; }
Property Value
System.String
|
IsDisposed
Declaration
public bool IsDisposed { get; }
Property Value
System.Boolean
|
ToolTipFont
Declaration
public Font ToolTipFont { get; }
Property Value
System.Drawing.Font
|
Methods
CorrectShowPoint(Point, String)
Declaration
protected virtual Point CorrectShowPoint(Point point, string text)
Parameters
System.Drawing.Point
point
|
System.String
text
|
Returns
System.Drawing.Point
|
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
Hide()
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
System.String
text
A System.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
System.String
text
A System.String containing the new RadToolTip text. |
System.Drawing.Point
point
A System.Drawing.Point containing the offset, in pixels, relative to the upper-left corner of the screen, to display the RadToolTip. |
Show(String, Point, Int32)
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
System.String
text
A System.String containing the new RadToolTip text. |
System.Drawing.Point
point
A System.Drawing.Point containing the offset, in pixels, relative to the upper-left corner of the screen, to display the RadToolTip. |
System.Int32
duration
An System.Int32 containing the duration, in milliseconds, to display the RadToolTip. |
Show(String, Int32)
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
System.String
text
A System.String containing the new RadToolTip text. |
System.Int32
duration
An System.Int32 containing the duration, in milliseconds, to display the RadToolTip. |
Show(String, Int32, Int32)
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
System.String
text
A System.String containing the new RadToolTip text. |
System.Int32
x
The horizontal offset, in pixels, relative to the upper-left corner of the screen, to display the ToolTip. |
System.Int32
y
The vertical offset, in pixels, relative to the upper-left corner of the screen, to display the ToolTip. |
Show(String, Int32, Int32, Int32)
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
System.String
text
A System.String containing the new RadToolTip text. |
System.Int32
x
The horizontal offset, in pixels, relative to the upper-left corner of the screen, to display the ToolTip. |
System.Int32
y
The vertical offset, in pixels, relative to the upper-left corner of the screen, to display the ToolTip. |
System.Int32
duration
An System.Int32 containing the duration, in milliseconds, to display the RadToolTip. |