TooltipBuilder
TooltipBuilder class.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TooltipBuilder : TooltipBuilderBase<TooltipBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<Tooltip, TooltipBuilderBase<TooltipBuilder>>TooltipBuilderBase<TooltipBuilder>TooltipBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the TooltipBuilder class.
Methods
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 TooltipBuilder AutoHide(bool value)
The value for AutoHide
Returns:Returns the current TooltipBuilder instance.
Specifies if the Tooltip callout will be displayed.
public TooltipBuilder Callout(bool value)
The value for Callout
Returns:Returns the current TooltipBuilder instance.
Configures the client-side events.
public TooltipBuilder Events(Action<TooltipEventBuilder> configurator)
The client events action.
Returns:Returns the current TooltipBuilder instance.
Specifies a selector for the elements within the container which will display the Tooltip.
public TooltipBuilder Filter(string value)
The value for Filter
Returns:Returns the current TooltipBuilder instance.
The height (in pixels) of the Tooltip.
public TooltipBuilder Height(double value)
The value for Height
Returns:Returns the current TooltipBuilder instance.
Specifies the delay (in milliseconds) before the Tooltip is hidden.
public TooltipBuilder HideAfter(double value)
The value for HideAfter
Returns:Returns the current TooltipBuilder instance.
Explicitly states whether a content iframe will be created.
public TooltipBuilder Iframe(bool value)
The value for Iframe
Returns:Returns the current TooltipBuilder instance.
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 TooltipBuilder Offset(double value)
The value for Offset
Returns:Returns the current TooltipBuilder instance.
Represents the tooltip position.
public TooltipBuilder Position(TooltipPosition value)
The value for Position
Returns:Returns the current TooltipBuilder instance.
Specifies the delay (in milliseconds) before the Tooltip shows. This option is ignored if showOn is set to click or focus.
public TooltipBuilder ShowAfter(double value)
The value for ShowAfter
Returns:Returns the current TooltipBuilder instance.
Represents the tooltip position.
public TooltipBuilder ShowOn(TooltipShowOnEvent value)
The value for ShowOn
Returns:Returns the current TooltipBuilder instance.
public TooltipBuilder ThemeColor(TooltipThemeColor value)
The value for ThemeColor
Returns:Returns the current TooltipBuilder instance.
The width (in pixels) of the Tooltip.
public TooltipBuilder Width(double value)
The value for Width
Returns:Returns the current TooltipBuilder instance.