alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class CommandsWidth

    Provides settings to change the width of inserted images or videos in the Rich Text Editor.

    Inheritance
    object
    CommandsWidth
    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 CommandsWidth
    Remarks

    This class offers control over media size, permitting precise width specifications for optimal display in content layouts.

    Constructors

    CommandsWidth()

    Declaration
    public CommandsWidth()

    Properties

    MaxWidth

    Gets or sets the maximum width.

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

    A string indicating the greatest allowable width.

    Remarks

    MaxWidth caps the dimension to maintain visual consistency or compliance with design criteria.

    MinWidth

    Gets or sets the minimum width.

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

    A string representing the smallest permissible width.

    Remarks

    MinWidth restricts the lower boundary of the media element's width to avoid rendering errors or layout breaks.

    Width

    Gets or sets the width.

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

    A string determining the fixed or default width.

    Remarks

    Width ensures sharpness and alignment in how media appear, matching editor interface intentions.

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