ClassRadToolTip
Represents a customizable tooltip control that can be attached to other UI elements. The RadToolTip class inherits from ContentControl and provides properties to control the tooltip's appearance and behavior, including its offset, visibility, placement, and the target element it is associated with. The tooltip can dynamically open and close, allowing for interactive user experiences.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
[TelerikToolboxCategory("Common")]
public class RadToolTip : ContentControl
Inheritance: objectRadToolTip
Constructors
RadToolTip()
Initializes a new instance of the RadToolTip class.
Declaration
public RadToolTip()
Fields
HorizontalOffsetProperty
Identifies the HorizontalOffset dependency property.
Declaration
public static readonly DependencyProperty HorizontalOffsetProperty
Field Value
DependencyProperty
IsOpenProperty
Identifies the IsOpen dependency property.
Declaration
public static readonly DependencyProperty IsOpenProperty
Field Value
DependencyProperty
PlacementProperty
Identifies the Placement dependency property.
Declaration
public static readonly DependencyProperty PlacementProperty
Field Value
DependencyProperty
PlacementRectangleProperty
Identifies the PlacementRectangle dependency property.
Declaration
public static readonly DependencyProperty PlacementRectangleProperty
Field Value
DependencyProperty
PlacementTargetProperty
Identifies the PlacementTarget dependency property.
Declaration
public static readonly DependencyProperty PlacementTargetProperty
Field Value
DependencyProperty
VerticalOffsetProperty
Identifies the VerticalOffset dependency property.
Declaration
public static readonly DependencyProperty VerticalOffsetProperty
Field Value
DependencyProperty
Properties
HorizontalOffset
Get or sets the horizontal distance between the target origin and the popup alignment point.
Declaration
public double HorizontalOffset { get; set; }
Property Value
The horizontal offset.
IsOpen
Gets or sets whether this tooltip is currently visible.
ParentPopup
Gets the parent popup.
Declaration
protected Popup ParentPopup { get; }
Property Value
Popup
The parent popup.
Placement
Gets or sets the orientation of the tooltip when it opens, and specifies how the tooltip behaves when it overlaps screen boundaries.
Declaration
public PlacementMode Placement { get; set; }
Property Value
PlacementMode
The placement.
PlacementRectangle
Gets or sets the rectangular area relative to which the tooltip is positioned.
Declaration
public Rect PlacementRectangle { get; set; }
Property Value
Rect
The placement rectangle.
PlacementTarget
Gets or sets the object relative to which the tooltip is positioned.
Declaration
public UIElement PlacementTarget { get; set; }
Property Value
UIElement
The placement target.
VerticalOffset
Get or sets the vertical distance between the target origin and the popup alignment point.
Declaration
public double VerticalOffset { get; set; }
Property Value
The horizontal offset.
Methods
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.