menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CommandsWidth - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CommandsWidth

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

    Inheritance
    System.Object
    CommandsWidth
    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class CommandsWidth : Object
    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
    System.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
    System.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
    System.String

    A string determining the fixed or default width.

    Remarks

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

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