DiagramConnectionDefaultsContentSettingsTagHelper
Example
Razor
<content>
<content-template></content-template>
</content>
ChildTags
Tag Name | Details |
---|---|
content-template | TemplateTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
color | String | The color of the connection content text. |
font-family | String | The font family of the connection content text. |
font-size | Double | The font size of the connection content text. |
font-style | String | The font style of the connection content text. |
font-weight | String | The font weight of the connection content text. |
template | String | The template which renders the labels.The fields which can be used in the template are: dataItem - the data item, in case 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, in case 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, in case 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, in case a field has been specified. |
text | String | The static text displayed on the connection. |
visual | String | A function returning a visual element to render for the content of a connection. |