DiagramShapeDefaultsContentSettingsTagHelper

Example

Razor
<content>
    <content-template></content-template>
</content>

ChildTags

Tag NameDetails
content-templateTemplateTagHelper

Attributes

AttributeTypeDescription
alignStringThe 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.
colorStringThe color of the shape content text.
font-familyStringThe font family of the shape content text.
font-sizeDoubleThe font size of the shape content text.
font-styleStringThe font style of the shape content text.
font-weightStringThe font weight of the shape content text.
templateStringRepresents a collection of templates defined for the component.
template-handlerStringThe 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. This option expects the name of a JavaScript function that will be called to return the template.
template-idStringThe 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. This option expects the ID of the script element that contains the template.
template-viewIHtmlContentThe 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. This option expects the instance containing the created HTML.
textStringThe text that is displayed in the shape.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support