New to Telerik UI for ASP.NET Core? Download free 30-day trial

DiagramShapeDefaultsContentSettingsTagHelper

Example

<content/>

Attributes

Attribute Type Description
align String The alignment of the text inside the shape. You can do combinations between "top", "middle" and "bottom" for vertical align and "right", "center" and "left" for horizontal align. For example, "top right", "middle left", "bottom center", and so on.
color String The color of the shape content text.
font-family String The font family of the shape content text.
font-size Double The font size of the shape content text.
font-style String The font style of the shape content text.
font-weight String The font weight of the shape content text.
template String The template which renders the labels.The fields which can be used in the template are: dataItem - The data item if a field has been specified.
template-handler String The template which renders the labels.The fields which can be used in the template are: dataItem - The data item if a field has been specified.
template-id String The template which renders the labels.The fields which can be used in the template are: dataItem - The data item if a field has been specified.
template-view IHtmlContent The template which renders the labels.The fields which can be used in the template are: dataItem - The data item if a field has been specified.
text String The text that is displayed in the shape.
In this article
Not finding the help you need?