ClassChartTooltipBehavior
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
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
DependencyProperty
HorizontalOffsetProperty
Identifies the HorizontalOffset dependency property.
Declaration
public static readonly DependencyProperty HorizontalOffsetProperty
Field Value
DependencyProperty
InitialShowDelayProperty
Identifies the InitialShowDelay dependency property.
Declaration
public static readonly DependencyProperty InitialShowDelayProperty
Field Value
DependencyProperty
IsOpenProperty
Identifies the IsOpen dependency property.
Declaration
public static readonly DependencyProperty IsOpenProperty
Field Value
DependencyProperty
PlacementProperty
Identifies the Placement dependency property.
Declaration
public static readonly DependencyProperty PlacementProperty
Field Value
DependencyProperty
PlacementRectangleProperty
Identifies the PlacementRectangle dependency property.
Declaration
public static readonly DependencyProperty PlacementRectangleProperty
Field Value
DependencyProperty
PlacementTargetProperty
Identifies the PlacementTarget dependency property.
Declaration
public static readonly DependencyProperty PlacementTargetProperty
Field Value
DependencyProperty
ShowDurationProperty
Identifies the ShowDuration dependency property.
Declaration
public static readonly DependencyProperty ShowDurationProperty
Field Value
DependencyProperty
TriggerModeProperty
Identifies the TriggerMode dependency property.
Declaration
public static readonly DependencyProperty TriggerModeProperty
Field Value
DependencyProperty
VerticalOffsetProperty
Identifies the VerticalOffset dependency property.
Declaration
public static readonly DependencyProperty VerticalOffsetProperty
Field Value
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
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
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
The initial show delay.
IsOpen
Gets a value indicating whether a tooltip is currently visible.
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
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
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
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
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
The vertical offset.
Methods
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the Freezable derived class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
Freezable
The new instance.
Overrides
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
oldAdornerContainer
Canvas
The old adorner layer.
adornerContainer
Canvas
The adorner layer.
Overrides
OnDetached()
This method is called when this behavior is removed from the chart.
Declaration
protected override void OnDetached()
Overrides