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

Tooltip

Class

The default Kendo UI Tooltip options for all marker layers.

Definition

Namespace:Telerik.Web.UI.Map

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class Tooltip : StateManager, IMarkableStateManager, IStateManager, IDefaultCheck

Inheritance: objectStateManagerTooltip

Implements: IDefaultCheckIMarkableStateManagerIStateManager

Inherited Members StateManager.IsTrackingViewStateStateManager.ViewStateobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public Tooltip()

Properties

A collection of {Animation} objects, used to change default animations. A value of false will disable all animations in the widget.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public Animation AnimationSettings { get; }

Specifies if the tooltip will be hidden when mouse leaves the target element. If set to false a close button will be shown within tooltip. If set to false, showAfter is specified and the showOn is set to "mouseenter" the Tooltip will be displayed after the given timeout even if the element is no longer hovered.

C#
public bool AutoHide { get; set; }

Specifies if the tooltip callout will be displayed.

C#
public bool Callout { get; set; }

The text or a function which result will be shown within the tooltip. By default the tooltip will display the target element title attribute content.

C#
public string Content { get; set; }

The text or a function which result will be shown within the tooltip. By default the tooltip will display the target element title attribute content.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public Content ContentSettings { get; }

The height (in pixels) of the tooltip.

C#
public double Height { get; set; }

Explicitly states whether content iframe should be created.

C#
public bool Iframe { get; set; }

Specifies whether the implementing object has default values.

C#
public bool IsDefault { get; }

Implements: IDefaultCheck.IsDefault

The position relative to the target element, at which tlhe tooltip will be shown. Predefined values are "bottom", "top", "left", "right", "center".

C#
public TooltipPosition Position { get; set; }

Specify the delay in milliseconds before the tooltip is shown. This option is ignored if showOn is set to "click" or "focus".

C#
public double ShowAfter { get; set; }

The event on which the tooltip will be shown. Predefined values are "mouseenter", "click" and "focus".

C#
public string ShowOn { get; set; }

The template which renders the tooltip content.The fields which can be used in the template are:

C#
public string Template { get; set; }

The width (in pixels) of the tooltip.

C#
public double Width { get; set; }

Methods

C#
protected override void LoadViewState(object state)
Parameters:stateobject

Overrides: StateManager.LoadViewState(object)

C#
protected override object SaveViewState()
Returns:

object

Overrides: StateManager.SaveViewState()

C#
protected override void TrackViewState()

Overrides: StateManager.TrackViewState()