Class
ImageCommandArgs

Command arguments for manipulating images.

Definition

Namespace:Telerik.Blazor.Components.Editor

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class ImageCommandArgs : ToolCommandArgsBase

Inheritance: objectToolCommandArgsBaseImageCommandArgs

Inherited Members ToolCommandArgsBase.CommandNameToolCommandArgsBase.ShouldFocusView

Constructors

ImageCommandArgs()

Declaration

cs-api-definition
public ImageCommandArgs()

ImageCommandArgs(string, string)

Declaration

cs-api-definition
public ImageCommandArgs(string src, string alttext)

Parameters

src

string

alttext

string

ImageCommandArgs(string, string, string, string)

Declaration

cs-api-definition
public ImageCommandArgs(string src, string alttext, string width, string height)

Parameters

src

string

alttext

string

width

string

height

string

Properties

Alt

The alt attribute of the img tag.

Declaration

cs-api-definition
public string Alt { get; set; }

Property Value

string

Height

The value of the height attribute of the img tag.

Declaration

cs-api-definition
[JsonConverter(typeof(ImageCommandDimensionsJsonConverter))]
public string Height { get; set; }

Property Value

string

Src

The src (URL) of the image.

Declaration

cs-api-definition
public string Src { get; set; }

Property Value

string

Width

The value of the width attribute of the img tag.

Declaration

cs-api-definition
[JsonConverter(typeof(ImageCommandDimensionsJsonConverter))]
public string Width { get; set; }

Property Value

string