New to Telerik UI for .NET MAUI? Start a free 30-day trial

Provides the styleable and templatable host view for chart tooltip content.

Definition

Fields

ArrowFillProperty

BindableProperty

Identifies the ArrowFill bindable property.

C#
public static readonly BindableProperty ArrowFillProperty

ArrowMarginProperty

BindableProperty

Identifies the ArrowMargin bindable property.

C#
public static readonly BindableProperty ArrowMarginProperty

ArrowPlacementProperty

BindableProperty

Identifies the ArrowPlacement bindable property.

C#
public static readonly BindableProperty ArrowPlacementProperty

ArrowStrokeProperty

BindableProperty

Identifies the ArrowStroke bindable property.

C#
public static readonly BindableProperty ArrowStrokeProperty

Identifies the ArrowStrokeThickness bindable property.

C#
public static readonly BindableProperty ArrowStrokeThicknessProperty

ContextProperty

BindableProperty

Identifies the Context bindable property.

C#
public static readonly BindableProperty ContextProperty

FontAttributesProperty

BindableProperty

Identifies the FontAttributes bindable property.

C#
public static readonly BindableProperty FontAttributesProperty

FontFamilyProperty

BindableProperty

Identifies the FontFamily bindable property.

C#
public static readonly BindableProperty FontFamilyProperty

FontSizeProperty

BindableProperty

Identifies the FontSize bindable property.

C#
public static readonly BindableProperty FontSizeProperty

TextColorProperty

BindableProperty

Identifies the TextColor bindable property.

C#
public static readonly BindableProperty TextColorProperty

Properties

Gets the brush that fills the tooltip arrow. It resolves like the tooltip body: Background when it is set, otherwise BackgroundColor. It is null when neither is set.

C#
public Brush? ArrowFill { get; }

The value is recalculated when the background or border properties are assigned. It does not track changes made to a brush instance after it has been assigned.

ArrowMargin

Thickness

Gets the margin that moves the arrow over the border of the tooltip body it is attached to, so the border does not run across the base of the arrow. The value on the side facing the body is the negated ArrowStrokeThickness.

C#
public Thickness ArrowMargin { get; }

Gets the side of the tooltip body that holds the arrow. The default is Bottom.

C#
public ChartTooltipArrowPlacement ArrowPlacement { get; }

The chart sets this value according to where the tooltip is placed relative to the data point it describes.

Gets the brush that outlines the tooltip arrow. It resolves like the tooltip border: BorderBrush when it is set, otherwise BorderColor. It is null when neither is set.

C#
public Brush? ArrowStroke { get; }

Gets the thickness of the arrow outline. It is the thickness of BorderThickness on the edge the arrow is attached to (see ArrowPlacement), or zero when ArrowStroke is null or the tooltip has no arrow.

C#
public double ArrowStrokeThickness { get; }

Gets the point data currently displayed by the tooltip.

C#
public ChartTooltipContext? Context { get; }

FontAttributes

FontAttributes

Gets or sets the tooltip font attributes. It applies to labels inside the default control template, including labels in a custom content template, unless the label sets its own font attributes.

C#
public FontAttributes FontAttributes { get; set; }

Gets or sets the tooltip font family. It applies to labels inside the default control template, including labels in a custom content template, unless the label sets its own font family. When it is null, labels use the default font.

C#
public string? FontFamily { get; set; }

Gets or sets the tooltip font size. It applies to labels inside the default control template, including labels in a custom content template, unless the label sets its own font size.

C#
public double FontSize { get; set; }

Gets or sets the tooltip text color. It applies to labels inside the default control template, including labels in a custom content template, unless the label sets its own text color.

C#
public Color? TextColor { get; set; }

Methods

C#
protected override void OnPropertyChanged(string? propertyName = null)
Parameters:propertyNamestring

Overrides: RadCompositeContentView.OnPropertyChanged(string)