New to Telerik UI for WPFStart a free 30-day trial

Defines the tooltip behavior for RadChart.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public class ChartTooltipBehavior : ChartBehavior

Inheritance: objectInheritanceContextPropagatorChartBehaviorChartTooltipBehavior

Inherited Members ChartBehavior.OnUnloaded()ChartBehavior.ChartChartBehavior.AdornerContainerInheritanceContextPropagator.FreezeCore(bool)

Constructors

Initializes a new instance of the ChartTooltipBehavior class.

C#
public ChartTooltipBehavior()

Fields

BetweenShowDelayProperty

DependencyProperty

Identifies the BetweenShowDelay dependency property.

C#
public static readonly DependencyProperty BetweenShowDelayProperty

HorizontalOffsetProperty

DependencyProperty

Identifies the HorizontalOffset dependency property.

C#
public static readonly DependencyProperty HorizontalOffsetProperty

InitialShowDelayProperty

DependencyProperty

Identifies the InitialShowDelay dependency property.

C#
public static readonly DependencyProperty InitialShowDelayProperty

IsOpenProperty

DependencyProperty

Identifies the IsOpen dependency property.

C#
public static readonly DependencyProperty IsOpenProperty

PlacementProperty

DependencyProperty

Identifies the Placement dependency property.

C#
public static readonly DependencyProperty PlacementProperty

PlacementRectangleProperty

DependencyProperty

Identifies the PlacementRectangle dependency property.

C#
public static readonly DependencyProperty PlacementRectangleProperty

PlacementTargetProperty

DependencyProperty

Identifies the PlacementTarget dependency property.

C#
public static readonly DependencyProperty PlacementTargetProperty

ShowDurationProperty

DependencyProperty

Identifies the ShowDuration dependency property.

C#
public static readonly DependencyProperty ShowDurationProperty

TriggerModeProperty

DependencyProperty

Identifies the TriggerMode dependency property.

C#
public static readonly DependencyProperty TriggerModeProperty

VerticalOffsetProperty

DependencyProperty

Identifies the VerticalOffset dependency property.

C#
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.

C#
public int BetweenShowDelay { get; set; }
Property Value:

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.

C#
public double HorizontalOffset { get; set; }
Property Value:

The horizontal offset.

Gets or sets the length of time (in milliseconds) before a tooltip opens.

C#
public int InitialShowDelay { get; set; }
Property Value:

The initial show delay.

Gets a value indicating whether a tooltip is currently visible.

C#
public bool IsOpen { get; }
Property Value:

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.

C#
public PlacementMode Placement { get; set; }
Property Value:

The placement.

Gets or sets the rectangular area relative to which the tooltip is positioned.

C#
public Rect PlacementRectangle { get; set; }
Property Value:

The placement rectangle.

Gets or sets the object relative to which the tooltip is positioned.

C#
public UIElement PlacementTarget { get; set; }
Property Value:

The placement target.

Gets or sets the amount of time that a tooltip remains visible.

C#
public int ShowDuration { get; set; }
Property Value:

An integer value that represents the display time in milliseconds. The default value is 5000 milliseconds.

Gets or sets the trigger mode.

C#
public ToolTipTriggerMode TriggerMode { get; set; }
Property Value:

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.

C#
public double VerticalOffset { get; set; }
Property Value:

The vertical offset.

Methods

When implemented in a derived class, creates a new instance of the Freezable derived class.

C#
protected override Freezable CreateInstanceCore()
Returns:

Freezable

The new instance.

Overrides: InheritanceContextPropagator.CreateInstanceCore()

Called when the behavior is added to the chart control.

C#
protected override void OnAttached()

Overrides: ChartBehavior.OnAttached()

Called when chart template is changed.

C#
protected override void OnChartTemplateChanged(Canvas oldAdornerContainer, Canvas adornerContainer)
Parameters:oldAdornerContainerCanvas

The old adorner layer.

adornerContainerCanvas

The adorner layer.

Overrides: ChartBehavior.OnChartTemplateChanged(Canvas, Canvas)

This method is called when this behavior is removed from the chart.

C#
protected override void OnDetached()

Overrides: ChartBehavior.OnDetached()