New to Telerik UI for Blazor? Start a free 30-day trial

The text formatting of a text box. Properties left null keep their current value.

Definition

Namespace:Telerik.Blazor.Components.ImageEditor

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class ImageEditorTextStyle

Inheritance: objectImageEditorTextStyle

Constructors

C#
public ImageEditorTextStyle()

Properties

The text alignment inside the text box.

C#
public ImageEditorTextAlign? Align { get; set; }

Renders the text in capital letters.

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

Renders the text in lowercase letters. Ignored when AllCaps is true.

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

Bold text.

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

The text color in any valid CSS format.

C#
public string Color { get; set; }

The font family, for example "Arial".

C#
public string FontFamily { get; set; }

The font size in pixels.

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

Italic text.

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

The opacity, from 0 to 1.

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

Strikethrough text.

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

Underlined text.

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