<kendo:diagram-shapeDefaults-content>
Defines the default shapes content settings.
Example
<kendo:diagram-shapeDefaults>
<kendo:diagram-shapeDefaults-content></kendo:diagram-shapeDefaults-content>
</kendo:diagram-shapeDefaults>
Configuration Attributes
align java.lang.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.
Example
<kendo:diagram-shapeDefaults-content align="align">
</kendo:diagram-shapeDefaults-content>
color java.lang.String
The color of the shape content text.
Example
<kendo:diagram-shapeDefaults-content color="color">
</kendo:diagram-shapeDefaults-content>
fontFamily java.lang.String
The font family of the shape content text.
Example
<kendo:diagram-shapeDefaults-content fontFamily="fontFamily">
</kendo:diagram-shapeDefaults-content>
fontSize float
The font size of the shape content text.
Example
<kendo:diagram-shapeDefaults-content fontSize="fontSize">
</kendo:diagram-shapeDefaults-content>
fontStyle java.lang.String
The font style of the shape content text.
Example
<kendo:diagram-shapeDefaults-content fontStyle="fontStyle">
</kendo:diagram-shapeDefaults-content>
fontWeight java.lang.String
The font weight of the shape content text.
Example
<kendo:diagram-shapeDefaults-content fontWeight="fontWeight">
</kendo:diagram-shapeDefaults-content>
template java.lang.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.
Example
<kendo:diagram-shapeDefaults-content template="template">
</kendo:diagram-shapeDefaults-content>
text java.lang.String
The text that is displayed in the shape.
Example
<kendo:diagram-shapeDefaults-content text="text">
</kendo:diagram-shapeDefaults-content>
Event Attributes
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.
Example
<kendo:diagram-shapeDefaults-content template="handle_template">
</kendo:diagram-shapeDefaults-content>
<script>
function handle_template(e) {
// Code to handle the template event.
}
</script>
Event Tags
kendo:diagram-shapeDefaults-content-template
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.
Example
<kendo:diagram-shapeDefaults-content>
<kendo:diagram-shapeDefaults-content-template>
<script>
function(e) {
// Code to handle the template event.
}
</script>
</kendo:diagram-shapeDefaults-content-template>
</kendo:diagram-shapeDefaults-content>