Class TooltipSetting
Represents TooltipSetting. To render this, create an instance of the TooltipSetting class and set required properties.
Inheritance
Namespace: Syncfusion.SfMaps.XForms
Assembly: Syncfusion.SfMaps.XForms.dll
Syntax
public class TooltipSetting : Element, IThemeElement
Constructors
TooltipSetting()
Initializes a new instance of the TooltipSetting class to render the tooltip of the map.
Declaration
public TooltipSetting()
Fields
BackgroundColorProperty
Gets or sets the background color property for the tooltips in the maps. The default color of the tooltip is gray. This is a bindable property.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DurationProperty
Gets or sets the duration property for the tooltip in the maps. The default value is 1. It represents how long the tooltip needs to be visible.
Declaration
public static readonly BindableProperty DurationProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
EnableAnimationProperty
Gets or sets a value that indicates whether the animation of the tooltip in the map is enabled. The default value of the animation is true.
Declaration
public static readonly BindableProperty EnableAnimationProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontAttributesProperty
Gets or sets the font attribute for the tooltips in the maps. The default font attribute is None for the tooltip of the maps. This is a bindable property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontFamilyProperty
Gets or sets the font family property for the tooltip in the maps. The default font family is used in the tooltip of the maps. This is a bindable property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontSizeProperty
Gets or sets the font size property for the tooltip in the maps. The default font size is 11 for the tooltip of the map. This is a bindable property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
MarginProperty
Gets or sets the margin for the tooltip in the maps. The default value of the margin is 5 for the tooltip. This is a bindable property.
Declaration
public static readonly BindableProperty MarginProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
PointerLengthProperty
Gets or sets the pointer length for the tooltips in the maps. The default value of the pointer length is 8. This is a bindable property.
Declaration
public static readonly BindableProperty PointerLengthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ShowTooltipProperty
Gets or sets a value that indicates whether the tooltip property is visible in the maps. The default value is false. This is a bindable property.
Declaration
public static readonly BindableProperty ShowTooltipProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StrokeColorProperty
Gets or sets the stroke color property for the tooltip in the maps. The default stroke color of the tooltip is light gray. This is a bindable property.
Declaration
public static readonly BindableProperty StrokeColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StrokeWidthProperty
Gets or sets the stroke width property for the tooltips in the maps. The default stroke width of the tooltip is 1. This is a bindable property.
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TextColorProperty
Gets or sets the text color property for the tooltip in the maps. The default color of the text in tooltip is white. This is a bindable property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TooltipTemplateProperty
Gets or sets the tooltip template for the tooltips in the maps. It is used to give different view in the tooltips. This is bindable property.
Declaration
public static readonly BindableProperty TooltipTemplateProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ValuePathProperty
Gets or sets the value path for the tooltip in the maps. It represents the value that is displayed in the tooltip. This is a bindable property.
Declaration
public static readonly BindableProperty ValuePathProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
BackgroundColor
Gets or sets the background color for the tooltips in the maps. The default color of the tooltip is gray.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
Duration
Gets or sets the duration for the tooltip in the maps. The default value is 1. It represents how long the tooltip needs to be visible.
Declaration
public float Duration { get; set; }
Property Value
Type |
---|
System.Single |
EnableAnimation
Gets or sets a value indicating whether the animation of the tooltip in the map is enabled. The default value of the animation is true.
Declaration
public bool EnableAnimation { get; set; }
Property Value
Type |
---|
System.Boolean |
FontAttributes
Gets or sets the font attribute for the tooltip in the maps. The default font attribute is None for the tooltip of the maps.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Type |
---|
Xamarin.Forms.FontAttributes |
FontFamily
Gets or sets the font family for the tooltip in the maps. The default font family is used in the tooltip of the maps.
Declaration
public string FontFamily { get; set; }
Property Value
Type |
---|
System.String |
FontSize
Gets or sets the font size for the tooltip in the maps. The default font size is 11 for the tooltip of the maps.
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |
Margin
Gets or sets the margin for the tooltip in the maps. The default value of the margin is 5 for the tooltip.
Declaration
public Thickness Margin { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Thickness |
PointerLength
Gets or sets the pointer length for the tooltips in the maps. The default value of the pointer length is 8.
Declaration
public float PointerLength { get; set; }
Property Value
Type |
---|
System.Single |
ShowTooltip
Gets or sets a value indicating whether the tooltip is visible in the maps. The default value is false.
Declaration
public bool ShowTooltip { get; set; }
Property Value
Type |
---|
System.Boolean |
StrokeColor
Gets or sets the stroke color for the tooltip in the maps. The default stroke color of the tooltip is light gray.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
StrokeWidth
Gets or sets the stroke width for the tooltips in the maps. The default stroke width of the tooltip is 1.
Declaration
public float StrokeWidth { get; set; }
Property Value
Type |
---|
System.Single |
TextColor
Gets or sets the text color for the tooltips in the maps. The default color of the text in the tooltip is white.
Declaration
public Color TextColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
TooltipTemplate
Gets or sets the tooltip template for the tooltips in the maps. It is used to give different views to the tooltips.
Declaration
public DataTemplate TooltipTemplate { get; set; }
Property Value
Type |
---|
Xamarin.Forms.DataTemplate |
ValuePath
Gets or sets the value path for the tooltip in the maps. It represents the value that is displayed in the tooltip.
Declaration
public string ValuePath { get; set; }
Property Value
Type |
---|
System.String |