Tooltip
Kendo UI Tooltip component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class Tooltip : WidgetBase, IHtmlAttributesContainer
Inheritance: objectWidgetBaseTooltip
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the Tooltip class.
Properties
Animation member.
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.
public bool? AutoHide { get; set; }
Specifies if the Tooltip callout will be displayed.
public bool? Callout { get; set; }
ContentHandler member.
public ClientHandlerDescriptor ContentHandler { get; }
ContentTemplateId member.
public string ContentTemplateId { get; set; }
ContentUrl member.
public string ContentUrl { get; set; }
Specifies a selector for the elements within the container which will display the Tooltip.
public string Filter { get; set; }
Specifies the delay (in milliseconds) before the Tooltip is hidden.
public double? HideAfter { get; set; }
Explicitly states whether a content iframe will be created.
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.
public double? Offset { get; set; }
Represents the tooltip position.
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.
public double? ShowAfter { get; set; }
Represents the tooltip position.
public TooltipShowOnEvent? ShowOn { get; set; }
public TooltipThemeColor? ThemeColor { get; set; }
Methods
Serializes the component settings to a dictionary.
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
VerifySettings method.
public override void VerifySettings()
Overrides:
Writes the HTML content.
protected override void WriteHtml(TextWriter writer)
The text writer.
Overrides:
WriteInitializationScript method.
public override void WriteInitializationScript(TextWriter writer)
Overrides: