Class
RadToolTip

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:

cs-api-definition
[TelerikToolboxCategory("Common")]
public class RadToolTip : ContentControl

Inheritance: objectRadToolTip

Constructors

RadToolTip()

Initializes a new instance of the RadToolTip class.

Declaration

cs-api-definition
public RadToolTip()

Fields

HorizontalOffsetProperty

Identifies the HorizontalOffset dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalOffsetProperty

Field Value

DependencyProperty

IsOpenProperty

Identifies the IsOpen dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsOpenProperty

Field Value

DependencyProperty

PlacementProperty

Identifies the Placement dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PlacementProperty

Field Value

DependencyProperty

PlacementRectangleProperty

Identifies the PlacementRectangle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PlacementRectangleProperty

Field Value

DependencyProperty

PlacementTargetProperty

Identifies the PlacementTarget dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PlacementTargetProperty

Field Value

DependencyProperty

VerticalOffsetProperty

Identifies the VerticalOffset dependency property.

Declaration

cs-api-definition
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

cs-api-definition
public double HorizontalOffset { get; set; }

Property Value

double

The horizontal offset.

IsOpen

Gets or sets whether this tooltip is currently visible.

Declaration

cs-api-definition
public bool IsOpen { get; set; }

Property Value

bool

The is open.

ParentPopup

Gets the parent popup.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public double VerticalOffset { get; set; }

Property Value

double

The horizontal offset.

Methods

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.