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

Tooltip

Class

Kendo UI Tooltip component

Definition

Constructors

Initializes a new instance of the Tooltip class.

C#
public Tooltip(ViewContext viewContext)
Parameters:viewContextViewContext

Properties

Animation member.

C#
public PopupAnimation Animation { get; }

Specifies if the Tooltip will be hidden when the 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 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; }

Gets or sets the Container.

C#
public string Container { get; set; }

Content member.

C#
public string Content { get; set; }

ContentHandler member.

C#
public ClientHandlerDescriptor ContentHandler { get; }

ContentTemplateId member.

C#
public string ContentTemplateId { get; set; }

ContentUrl member.

C#
public string ContentUrl { get; set; }

Specifies a selector for the elements within the container which will display the Tooltip.

C#
public string Filter { get; set; }

The height (in pixels) of the Tooltip.

C#
public double? Height { get; set; }

Specifies the delay (in milliseconds) before the Tooltip is hidden.

C#
public double? HideAfter { get; set; }

Explicitly states whether a content iframe will be created.

C#
public bool? Iframe { get; set; }

Specifies the offset (in pixels) between the Tooltip and the anchor. If the callout property is set to true, the offset is rendered from the callout arrow. If the callout property is set to false, the offset is rendered from the content of the Tooltip.

C#
public double? Offset { get; set; }

Represents the tooltip position.

C#
public TooltipPosition? Position { get; set; }

Specifies the delay (in milliseconds) before the Tooltip shows. This option is ignored if showOn is set to click or focus.

C#
public double? ShowAfter { get; set; }

Represents the tooltip position.

C#
public TooltipShowOnEvent? ShowOn { get; set; }
C#
public TooltipThemeColor? ThemeColor { get; set; }

The width (in pixels) of the Tooltip.

C#
public double? Width { get; set; }

Methods

Serializes the component settings to a dictionary.

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

VerifySettings method.

C#
public override void VerifySettings()

Overrides: WidgetBase.VerifySettings()

Writes the HTML content.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

The text writer.

Overrides: WidgetBase.WriteHtml(TextWriter)

WriteInitializationScript method.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteInitializationScript(TextWriter)