Kendo.Mvc.UI.Fluent.TooltipBuilder
Defines the fluent API for configuring the Kendo UI Tooltip
Methods
AutoHide(System.Boolean)
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.
Parameters
value System.Boolean
The value for AutoHide
Callout(System.Boolean)
Specifies if the Tooltip callout will be displayed.
Parameters
value System.Boolean
The value for Callout
Filter(System.String)
Specifies a selector for the elements within the container which will display the Tooltip.
Parameters
value System.String
The value for Filter
Iframe(System.Boolean)
Explicitly states whether a content iframe will be created.
Parameters
value System.Boolean
The value for Iframe
Height(System.Double)
The height (in pixels) of the Tooltip.
Parameters
value System.Double
The value for Height
Width(System.Double)
The width (in pixels) of the Tooltip.
Parameters
value System.Double
The value for Width
ShowAfter(System.Double)
Specifies the delay (in milliseconds) before the Tooltip shows. This option is ignored if showOn is set to click or focus.
Parameters
value System.Double
The value for ShowAfter
HideAfter(System.Double)
Specifies the delay (in milliseconds) before the Tooltip is hidden.
Parameters
value System.Double
The value for HideAfter
Offset(System.Double)
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.
Parameters
value System.Double
The value for Offset
Position(Kendo.Mvc.UI.TooltipPosition)
Represents the tooltip position.
Parameters
value Kendo.Mvc.UI.TooltipPosition
The value for Position
ShowOn(Kendo.Mvc.UI.TooltipShowOnEvent)
Represents the tooltip position.
Parameters
value Kendo.Mvc.UI.TooltipShowOnEvent
The value for ShowOn
Events(System.Action<Kendo.Mvc.UI.Fluent.TooltipEventBuilder>)
Configures the client-side events.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.TooltipEventBuilder>
The client events action.
Example (ASPX)
@(Html.Kendo().Tooltip()
.Name("Tooltip")
.Events(events => events
.ContentLoad("onContentLoad")
)
)