Defines the fluent API for configuring DiagramTooltipSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
Initializes a new instance of the DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel> class.
public DiagramTooltipSettingsBuilder(DiagramTooltipSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramTooltipSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramTooltipSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
Defines the tooltip that will be shown when hovering over a connection.
public DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel> ConnectionTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the connectiontemplate.
Returns:DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the tooltip that will be shown when hovering over a connection.
public DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel> ConnectionTemplateHandler(string templateHandler)
The handler that returs the template for ConnectionTemplate
Returns:DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel> instance.
The delay in milliseconds before the tooltipShow event is triggered after the user hovers over a diagram item.
public DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel> Delay(double value)
The value for Delay
Returns:DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the tooltip that will be shown when hovering over a connection.
public DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel> ShapeTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the shapetemplate.
Returns:DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the tooltip that will be shown when hovering over a connection.
public DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel> ShapeTemplateHandler(string templateHandler)
The handler that returs the template for ShapeTemplate
Returns:DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramTooltipSettingsBuilder<TShapeModel, TConnectionModel> instance.