Class
DiagramShapeTooltipDescriptor

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:

cs-api-definition
public class DiagramShapeTooltipDescriptor : DataVizChildComponentDescriptor

Inheritance: objectDataVizChildComponentDescriptorDiagramShapeTooltipDescriptor

Constructors

DiagramShapeTooltipDescriptor()

Declaration

cs-api-definition
public DiagramShapeTooltipDescriptor()

Properties

Class

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.

Declaration

cs-api-definition
public string Class { get; set; }

Property Value

string

Template

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

Declaration

cs-api-definition
public RenderFragment Template { get; set; }

Property Value

RenderFragment

Visible

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.

Declaration

cs-api-definition
public bool? Visible { get; set; }

Property Value

bool?

Methods

Serialize()

Declaration

cs-api-definition
public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>