New to Telerik UI for BlazorStart a free 30-day trial

Configures tooltips that appear when users hover over diagram shapes. Use this to display additional information, shape metadata, property values, or contextual help about entities. Supports custom templates and formatting to show shape data, descriptions, or instructions.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class DiagramShapeTooltipDescriptor : DataVizChildComponentDescriptor

Inheritance: objectDataVizChildComponentDescriptorDiagramShapeTooltipDescriptor

Constructors

C#
public DiagramShapeTooltipDescriptor()

Methods

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

Dictionary<string, object>

Properties

Sets custom CSS class names to style the tooltip appearance. Use this to apply custom colors, fonts, borders, or other styling to match your application theme. For example, "custom-tooltip highlight" applies both custom-tooltip and highlight classes.

C#
public string Class { get; set; }

Specifies the template of the shape tooltip. Can be used for adding custom tooltip content.

C#
public RenderFragment Template { get; set; }

Controls whether tooltips display when users hover over shapes. When set to true, tooltips appear with shape information. Set to false to disable tooltip display. Tooltips provide contextual information without cluttering the diagram layout.

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