Class ChartTooltip
Represents a content control that display a information about focused element.
Inheritance
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class ChartTooltip : ContentControl
Constructors
ChartTooltip()
Initializes a new instance of the ChartTooltip class.
Declaration
public ChartTooltip()
Fields
EnableAnimationProperty
The DependencyProperty for EnableAnimation property.
Declaration
public static readonly DependencyProperty EnableAnimationProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
HorizontalAlignmentProperty
The DependencyProperty for Windows.UI.Xaml.HorizontalAlignment property.
Declaration
public static readonly DependencyProperty HorizontalAlignmentProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
HorizontalOffsetProperty
The DependencyProperty for HorizontalOffset property.
Declaration
public static readonly DependencyProperty HorizontalOffsetProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
InitialShowDelayProperty
The DependencyProperty for InitialShowDelay property.
Declaration
public static readonly DependencyProperty InitialShowDelayProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ShowDurationProperty
The DependencyProperty for ShowDuration property.
Declaration
public static readonly DependencyProperty ShowDurationProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TooltipMarginProperty
The DependencyProperty for TooltipMargin property.
Declaration
public static readonly DependencyProperty TooltipMarginProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
VerticalAlignmentProperty
The DependencyProperty for Windows.UI.Xaml.VerticalAlignment property.
Declaration
public static readonly DependencyProperty VerticalAlignmentProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
VerticalOffsetProperty
The DependencyProperty for VerticalOffset property.
Declaration
public static readonly DependencyProperty VerticalOffsetProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Methods
GetEnableAnimation(UIElement)
Gets whether animation is enabled for tooltip or not.
Declaration
public static bool GetEnableAnimation(UIElement obj)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.UIElement | obj | The Object |
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether the animation is enabled. |
GetHorizontalAlignment(UIElement)
Gets the horizontal alignment for the tooltip.
Declaration
public static HorizontalAlignment GetHorizontalAlignment(UIElement obj)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.UIElement | obj | The Object |
Returns
Type | Description |
---|---|
Windows.UI.Xaml.HorizontalAlignment | Returns the horizontal alignment. |
GetHorizontalOffset(DependencyObject)
Gets the horizontal offset value to position the tooltip.
Declaration
public static double GetHorizontalOffset(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | obj | The Dependency Object |
Returns
Type | Description |
---|---|
System.Double | Returns the horizontal offset. |
GetInitialShowDelay(DependencyObject)
Gets the initial delay value to show the tooltip.
Declaration
public static int GetInitialShowDelay(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | obj | The Dependency Object |
Returns
Type | Description |
---|---|
System.Int32 | Returns the show delay. |
GetShowDuration(DependencyObject)
Gets the duration of the tooltip text in seconds.
Declaration
public static int GetShowDuration(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | obj | The Dependency Object |
Returns
Type | Description |
---|---|
System.Int32 | Returns the show duration. |
GetTooltipMargin(UIElement)
Gets the margin of the tooltip.
Declaration
public static Thickness GetTooltipMargin(UIElement obj)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.UIElement | obj | The Object |
Returns
Type | Description |
---|---|
Windows.UI.Xaml.Thickness | Returns the ChartTooltip margin. |
GetVerticalAlignment(UIElement)
Gets the vertical alignment for the tooltip.
Declaration
public static VerticalAlignment GetVerticalAlignment(UIElement obj)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.UIElement | obj | The Object |
Returns
Type | Description |
---|---|
Windows.UI.Xaml.VerticalAlignment | Returns the vertical alignment. |
GetVerticalOffset(DependencyObject)
Gets the vertical offset value to position the tooltip.
Declaration
public static double GetVerticalOffset(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | obj | The Dependency Object |
Returns
Type | Description |
---|---|
System.Double | Returns the vertical offset. |
SetEnableAnimation(UIElement, Boolean)
Sets the value to enable/disable the tooltip animation.
Declaration
public static void SetEnableAnimation(UIElement obj, bool value)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.UIElement | obj | The Object |
System.Boolean | value | The Value |
SetHorizontalAlignment(UIElement, HorizontalAlignment)
Sets the horizontal alignment to the tooltip.
Declaration
public static void SetHorizontalAlignment(UIElement obj, HorizontalAlignment value)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.UIElement | obj | The Object |
Windows.UI.Xaml.HorizontalAlignment | value | The Value |
SetHorizontalOffset(DependencyObject, Double)
Sets the horizontal offset value to position the tooltip.
Declaration
public static void SetHorizontalOffset(DependencyObject obj, double value)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | obj | The Dependency Object |
System.Double | value | The Value |
SetInitialShowDelay(DependencyObject, Int32)
Sets the initial delay value to show the tooltip.
Declaration
public static void SetInitialShowDelay(DependencyObject obj, int value)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | obj | The Dependency Object |
System.Int32 | value | The Value |
SetShowDuration(DependencyObject, Int32)
Sets the duration to the tooltip.
Declaration
public static void SetShowDuration(DependencyObject obj, int value)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | obj | The Dependency Object |
System.Int32 | value | The Value |
SetTooltipMargin(UIElement, Thickness)
Sets the margin to the tooltip.
Declaration
public static void SetTooltipMargin(UIElement obj, Thickness value)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.UIElement | obj | The Object |
Windows.UI.Xaml.Thickness | value | The Value |
SetVerticalAlignment(UIElement, VerticalAlignment)
Sets the vertical alignment to the tooltip.
Declaration
public static void SetVerticalAlignment(UIElement obj, VerticalAlignment value)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.UIElement | obj | The Object |
Windows.UI.Xaml.VerticalAlignment | value | The Value |
SetVerticalOffset(DependencyObject, Double)
Sets the vertical offset value to position the tooltip.
Declaration
public static void SetVerticalOffset(DependencyObject obj, double value)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | obj | The Dependency Object |
System.Double | value | The Value |