Class
ChartTooltipBehavior

Defines the tooltip behavior for RadChart.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public class ChartTooltipBehavior : ChartBehavior

Inheritance: objectInheritanceContextPropagatorChartBehaviorChartTooltipBehavior

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

Constructors

ChartTooltipBehavior()

Initializes a new instance of the ChartTooltipBehavior class.

Declaration

cs-api-definition
public ChartTooltipBehavior()

Fields

BetweenShowDelayProperty

Identifies the BetweenShowDelay dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BetweenShowDelayProperty

Field Value

DependencyProperty

HorizontalOffsetProperty

Identifies the HorizontalOffset dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalOffsetProperty

Field Value

DependencyProperty

InitialShowDelayProperty

Identifies the InitialShowDelay dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty InitialShowDelayProperty

Field Value

DependencyProperty

IsOpenProperty

Identifies the IsOpen dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsOpenProperty

Field Value

DependencyProperty

PlacementProperty

Identifies the Placement dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PlacementProperty

Field Value

DependencyProperty

PlacementRectangleProperty

Identifies the PlacementRectangle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PlacementRectangleProperty

Field Value

DependencyProperty

PlacementTargetProperty

Identifies the PlacementTarget dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PlacementTargetProperty

Field Value

DependencyProperty

ShowDurationProperty

Identifies the ShowDuration dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShowDurationProperty

Field Value

DependencyProperty

TriggerModeProperty

Identifies the TriggerMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TriggerModeProperty

Field Value

DependencyProperty

VerticalOffsetProperty

Identifies the VerticalOffset dependency property.

Declaration

cs-api-definition
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

cs-api-definition
public int BetweenShowDelay { get; set; }

Property Value

int

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

cs-api-definition
public double HorizontalOffset { get; set; }

Property Value

double

The horizontal offset.

InitialShowDelay

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

Declaration

cs-api-definition
public int InitialShowDelay { get; set; }

Property Value

int

The initial show delay.

IsOpen

Gets a value indicating whether a tooltip is currently visible.

Declaration

cs-api-definition
public bool IsOpen { get; }

Property Value

bool

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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public int ShowDuration { get; set; }

Property Value

int

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

TriggerMode

Gets or sets the trigger mode.

Declaration

cs-api-definition
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

cs-api-definition
public double VerticalOffset { get; set; }

Property Value

double

The vertical offset.

Methods

CreateInstanceCore()

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

Declaration

cs-api-definition
protected override Freezable CreateInstanceCore()

Returns

Freezable

The new instance.

Overrides InheritanceContextPropagator.CreateInstanceCore()

OnAttached()

Called when the behavior is added to the chart control.

Declaration

cs-api-definition
protected override void OnAttached()

Overrides ChartBehavior.OnAttached()

OnChartTemplateChanged(Canvas, Canvas)

Called when chart template is changed.

Declaration

cs-api-definition
protected override void OnChartTemplateChanged(Canvas oldAdornerContainer, Canvas adornerContainer)

Parameters

oldAdornerContainer

Canvas

The old adorner layer.

adornerContainer

Canvas

The adorner layer.

Overrides ChartBehavior.OnChartTemplateChanged(Canvas, Canvas)

OnDetached()

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

Declaration

cs-api-definition
protected override void OnDetached()

Overrides ChartBehavior.OnDetached()