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

Command arguments for manipulating images.

Definition

Namespace:Telerik.Blazor.Components.Editor

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class ImageCommandArgs : ToolCommandArgsBase

Inheritance: objectToolCommandArgsBaseImageCommandArgs

Inherited Members ToolCommandArgsBase.CommandNameToolCommandArgsBase.ShouldFocusView

Constructors

C#
public ImageCommandArgs()
C#
public ImageCommandArgs(string src, string alttext, string width, string height)
Parameters:srcstringalttextstringwidthstringheightstring
C#
public ImageCommandArgs(string src, string alttext)
Parameters:srcstringalttextstring

Properties

The alt attribute of the img tag.

C#
public string Alt { get; set; }

The value of the height attribute of the img tag.

C#
[JsonConverter(typeof(ImageCommandDimensionsJsonConverter))]
public string Height { get; set; }

The src (URL) of the image.

C#
public string Src { get; set; }

The value of the width attribute of the img tag.

C#
[JsonConverter(typeof(ImageCommandDimensionsJsonConverter))]
public string Width { get; set; }