New to Telerik UI for BlazorStart a free 30-day trial

Represents an inline item inside a shape content block (paragraph). Supports text runs, line breaks, and inline images. Use Type to specify the item kind, and the corresponding text or image properties to configure its appearance.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class DiagramShapeContentBlockChildDescriptor : DataVizChildComponentDescriptor

Inheritance: objectDataVizChildComponentDescriptorDiagramShapeContentBlockChildDescriptor

Constructors

C#
public DiagramShapeContentBlockChildDescriptor()

Properties

Renders the text in bold. Applies when type is "text" or omitted.

C#
public bool? Bold { get; set; }

The CSS color of the text. Inherits from parent content settings when not set. Applies when type is "text" or omitted.

C#
public string Color { get; set; }

The font family of the text. Inherits from parent content settings when not set. Applies when type is "text" or omitted.

C#
public string FontFamily { get; set; }

The font size of the text in pixels. Inherits from parent content settings when not set. Applies when type is "text" or omitted.

C#
public double? FontSize { get; set; }

The height of the inline image in pixels. Defaults to the fontSize value or 16 when not set. Applies when type is "image".

C#
public double? Height { get; set; }

Renders the text in italic. Applies when type is "text" or omitted.

C#
public bool? Italic { get; set; }

The URL or data URI of the inline image. Applies when type is "image".

C#
public string Src { get; set; }

The text content of the inline item. Applies when type is "text" or omitted.

C#
public string Text { get; set; }

The type of the inline item. Use "text" (or omit) for a text run, "break" for a line break, and "image" for an inline image.

C#
public DiagramShapeContentBlocksChildrenType? Type { get; set; }

Renders the text with an underline decoration. Applies when type is "text" or omitted.

C#
public bool? Underline { get; set; }

The width of the inline image in pixels. Defaults to the fontSize value or 16 when not set. Applies when type is "image".

C#
public double? Width { get; set; }

Methods

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>