• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ChartTooltipBehavior

Defines the tooltip behavior for RadChart.

Inheritance
System.Object
InheritanceContextPropagator
ChartBehavior
ChartTooltipBehavior
Inherited Members
ChartBehavior.OnUnloaded()
ChartBehavior.Chart
ChartBehavior.AdornerContainer
InheritanceContextPropagator.FreezeCore(Boolean)
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
System.Windows.Controls.Primitives.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

CreateInstanceCore()

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

Declaration
protected override Freezable CreateInstanceCore()
Returns
System.Windows.Freezable

The new instance.

Overrides
InheritanceContextPropagator.CreateInstanceCore()

OnAttached()

Called when the behavior is added to the chart control.

Declaration
protected override void OnAttached()
Overrides
ChartBehavior.OnAttached()

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
ChartBehavior.OnChartTemplateChanged(Canvas, Canvas)

OnDetached()

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

Declaration
protected override void OnDetached()
Overrides
ChartBehavior.OnDetached()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.