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