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:
[TelerikToolboxCategory("Common")]
public class RadToolTip : ContentControl
Inheritance: objectRadToolTip
Constructors
Initializes a new instance of the RadToolTip class.
public RadToolTip()
Fields
HorizontalOffsetProperty
DependencyProperty
Identifies the HorizontalOffset dependency property.
public static readonly DependencyProperty HorizontalOffsetProperty
IsOpenProperty
DependencyProperty
Identifies the IsOpen dependency property.
public static readonly DependencyProperty IsOpenProperty
PlacementProperty
DependencyProperty
Identifies the Placement dependency property.
public static readonly DependencyProperty PlacementProperty
PlacementRectangleProperty
DependencyProperty
Identifies the PlacementRectangle dependency property.
public static readonly DependencyProperty PlacementRectangleProperty
PlacementTargetProperty
DependencyProperty
Identifies the PlacementTarget dependency property.
public static readonly DependencyProperty PlacementTargetProperty
VerticalOffsetProperty
DependencyProperty
Identifies the VerticalOffset dependency property.
public static readonly DependencyProperty VerticalOffsetProperty
Properties
Get or sets the horizontal distance between the target origin and the popup alignment point.
public double HorizontalOffset { get; set; }
The horizontal offset.
Gets or sets whether this tooltip is currently visible.
public bool IsOpen { get; set; }
The is open.
ParentPopup
Popup
Gets the parent popup.
protected Popup ParentPopup { get; }
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.
public PlacementMode Placement { get; set; }
The placement.
Gets or sets the rectangular area relative to which the tooltip is positioned.
public Rect PlacementRectangle { get; set; }
The placement rectangle.
PlacementTarget
UIElement
Gets or sets the object relative to which the tooltip is positioned.
public UIElement PlacementTarget { get; set; }
The placement target.
Get or sets the vertical distance between the target origin and the popup alignment point.
public double VerticalOffset { get; set; }
The horizontal offset.
Methods
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.