DiagramConnectionDefaultsContentSettingsBuilder
Methods
Color(System.String)
The color of the connection content text.
Parameters
value - System.String
The value for Color
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
FontFamily(System.String)
The font family of the connection content text.
Parameters
value - System.String
The value for FontFamily
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
FontSize(System.Double)
The font size of the connection content text.
Parameters
value - System.Double
The value for FontSize
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
FontStyle(System.String)
The font style of the connection content text.
Parameters
value - System.String
The value for FontStyle
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
FontWeight(System.String)
The font weight of the connection content text.
Parameters
value - System.String
The value for FontWeight
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
Template(System.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.
Parameters
value - System.String
The value for Template
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
TemplateId(System.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.
Parameters
templateId - System.String
The ID of the template element for Template
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
TemplateView(Microsoft.AspNetCore.Html.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.
Parameters
templateView - Microsoft.AspNetCore.Html.IHtmlContent
The view that contains the template for Template
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
TemplateHandler(System.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.
Parameters
templateHandler - System.String
The handler that returs the template for Template
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)
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.
Parameters
template - TemplateBuilder<TModel>
A Template component that configures the template.
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
Text(System.String)
The static text displayed on the connection.
Parameters
value - System.String
The value for Text
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
Visual(System.String)
A function returning a visual element to render for the content of a connection.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
Visual(System.Func)
A function returning a visual element to render for the content of a connection.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
Position(System.Action)
Defines the position of the label relative to the connection path. Can be set to "inline" to position the label along the connection path, or an object with vertical and horizontal properties.
Parameters
configurator - System.Action<DiagramConnectionDefaultsContentPositionSettingsBuilder>
The configurator for the position setting.
RETURNS
Returns the current instance of DiagramConnectionDefaultsContentSettingsBuilder .
Background(System.String)
The background color of the connection label. Accepts valid CSS colors.
Parameters
value - System.String
The value for Background
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.
Border(System.Action)
The border options of the connection label. Applicable when background is set.
Parameters
configurator - System.Action<DiagramConnectionDefaultsContentBorderSettingsBuilder>
The configurator for the border setting.
RETURNS
Returns the current instance of DiagramConnectionDefaultsContentSettingsBuilder .
Padding(System.Action)
The padding options of the connection label. Applicable when background or border is set.
Parameters
configurator - System.Action<DiagramConnectionDefaultsContentPaddingSettingsBuilder>
The configurator for the padding setting.
RETURNS
Returns the current instance of DiagramConnectionDefaultsContentSettingsBuilder .
Offset(System.Double)
Defines the distance (in pixels) between the label and the connection path.
Parameters
value - System.Double
The value for Offset
RETURNS
Returns the current DiagramConnectionDefaultsContentSettingsBuilder instance.