New to Telerik UI for WPFStart a free 30-day trial

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:

C#
[TelerikToolboxCategory("Common")]
public class RadToolTip : ContentControl

Inheritance: objectRadToolTip

Constructors

Initializes a new instance of the RadToolTip class.

C#
public RadToolTip()

Fields

HorizontalOffsetProperty

DependencyProperty

Identifies the HorizontalOffset dependency property.

C#
public static readonly DependencyProperty HorizontalOffsetProperty

IsOpenProperty

DependencyProperty

Identifies the IsOpen dependency property.

C#
public static readonly DependencyProperty IsOpenProperty

PlacementProperty

DependencyProperty

Identifies the Placement dependency property.

C#
public static readonly DependencyProperty PlacementProperty

PlacementRectangleProperty

DependencyProperty

Identifies the PlacementRectangle dependency property.

C#
public static readonly DependencyProperty PlacementRectangleProperty

PlacementTargetProperty

DependencyProperty

Identifies the PlacementTarget dependency property.

C#
public static readonly DependencyProperty PlacementTargetProperty

VerticalOffsetProperty

DependencyProperty

Identifies the VerticalOffset dependency property.

C#
public static readonly DependencyProperty VerticalOffsetProperty

Properties

Get or sets the horizontal distance between the target origin and the popup alignment point.

C#
public double HorizontalOffset { get; set; }
Property Value:

The horizontal offset.

Gets or sets whether this tooltip is currently visible.

C#
public bool IsOpen { get; set; }
Property Value:

The is open.

Gets the parent popup.

C#
protected Popup ParentPopup { get; }
Property Value:

The parent popup.

Placement

PlacementMode

Gets or sets the orientation of the tooltip when it opens, and specifies how the tooltip behaves when it overlaps screen boundaries.

C#
public PlacementMode Placement { get; set; }
Property Value:

The placement.

Gets or sets the rectangular area relative to which the tooltip is positioned.

C#
public Rect PlacementRectangle { get; set; }
Property Value:

The placement rectangle.

Gets or sets the object relative to which the tooltip is positioned.

C#
public UIElement PlacementTarget { get; set; }
Property Value:

The placement target.

Get or sets the vertical distance between the target origin and the popup alignment point.

C#
public double VerticalOffset { get; set; }
Property Value:

The horizontal offset.

Methods

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.