alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ImageCommandsArgs

    The class is used to configure image settings in the SfRichTextEditor.

    Inheritance
    object
    ImageCommandsArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ImageCommandsArgs
    Remarks

    This class allows configuration of properties like URL, dimensions, and styling for images inserted into the editor.

    Constructors

    ImageCommandsArgs()

    Declaration
    public ImageCommandsArgs()

    Properties

    AltText

    Gets or sets the alternate text attribute of the image.

    Declaration
    public string? AltText { get; set; }
    Property Value
    Type Description
    string

    A string for alternative text descriptions.

    Remarks

    AltText is used to offer descriptive details on image content, especially useful for accessibility.

    CssClass

    Gets or sets the class name to be added to the image to customize it.

    Declaration
    public string? CssClass { get; set; }
    Property Value
    Type Description
    string

    A string of CSS classes for styling.

    Remarks

    CssClass enables distinctive or branded styles to be applied to image tags directly within the editor.

    Height

    Gets or sets the height of the image.

    Declaration
    public CommandsHeight? Height { get; set; }
    Property Value
    Type Description
    CommandsHeight

    An instance of CommandsHeight assigning vertical size.

    Remarks

    Height affects how much vertical space an inserted image occupies in editor content.

    Url

    Gets or sets the URL to be set in the image's src attribute.

    Declaration
    public string? Url { get; set; }
    Property Value
    Type Description
    string

    A string representing the image source URL.

    Remarks

    The Url property specifies the source location for the image, affecting what is rendered in the editor.

    Width

    Gets or sets the width of the image.

    Declaration
    public CommandsWidth? Width { get; set; }
    Property Value
    Type Description
    CommandsWidth

    An instance of CommandsWidth defining dimensions.

    Remarks

    Width determines the rendered breadth of image elements within the editor viewport.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved