ChartTooltipBehavior
Defines the tooltip behavior for RadChart.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public class ChartTooltipBehavior : ChartBehavior
Inheritance: objectInheritanceContextPropagatorChartBehaviorChartTooltipBehavior
Inherited Members
Constructors
Initializes a new instance of the ChartTooltipBehavior class.
public ChartTooltipBehavior()
Fields
BetweenShowDelayProperty
DependencyProperty
Identifies the BetweenShowDelay dependency property.
public static readonly DependencyProperty BetweenShowDelayProperty
HorizontalOffsetProperty
DependencyProperty
Identifies the HorizontalOffset dependency property.
public static readonly DependencyProperty HorizontalOffsetProperty
InitialShowDelayProperty
DependencyProperty
Identifies the InitialShowDelay dependency property.
public static readonly DependencyProperty InitialShowDelayProperty
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
ShowDurationProperty
DependencyProperty
Identifies the ShowDuration dependency property.
public static readonly DependencyProperty ShowDurationProperty
TriggerModeProperty
DependencyProperty
Identifies the TriggerMode dependency property.
public static readonly DependencyProperty TriggerModeProperty
VerticalOffsetProperty
DependencyProperty
Identifies the VerticalOffset dependency property.
public static readonly DependencyProperty VerticalOffsetProperty
Properties
Gets or sets the maximum time between the display of two tooltips where the second tooltip appears without a delay.
public int BetweenShowDelay { get; set; }
The between show delay.
Gets or sets the offset from the left of the area that is specified for the tooltip by the PlacementRectangle and PlacementTarget properties.
public double HorizontalOffset { get; set; }
The horizontal offset.
Gets or sets the length of time (in milliseconds) before a tooltip opens.
public int InitialShowDelay { get; set; }
The initial show delay.
Gets a value indicating whether a tooltip is currently visible.
public bool IsOpen { get; }
The is open.
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.
Gets or sets the amount of time that a tooltip remains visible.
public int ShowDuration { get; set; }
An integer value that represents the display time in milliseconds. The default value is 5000 milliseconds.
Gets or sets the trigger mode.
public ToolTipTriggerMode TriggerMode { get; set; }
The trigger mode.
Gets or sets the distance from the top of the area that is specified for the tooltip by the PlacementRectangle and PlacementTarget properties.
public double VerticalOffset { get; set; }
The vertical offset.
Methods
CreateInstanceCore()
Freezable
When implemented in a derived class, creates a new instance of the Freezable derived class.
protected override Freezable CreateInstanceCore()
Freezable
The new instance.
Overrides:
Called when the behavior is added to the chart control.
protected override void OnAttached()
Overrides:
Called when chart template is changed.
protected override void OnChartTemplateChanged(Canvas oldAdornerContainer, Canvas adornerContainer)
The old adorner layer.
adornerContainerCanvasThe adorner layer.
Overrides:
This method is called when this behavior is removed from the chart.
protected override void OnDetached()
Overrides: