Skip to main content
All docs
V24.1

DxHtmlEditor.MediaResizeEnabled Property

Specifies whether users can resize embedded media blocks (images).

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(true)]
[Parameter]
public bool MediaResizeEnabled { get; set; }

Property Value

Type Default Description
Boolean true

true to allow users to resize media blocks; otherwise, false.

Remarks

<DxHtmlEditor> allows users to resize embedded media blocks.

HTML Editor - Media Resizing

To disable this functionality, set the MediaResizeEnabled property to false.

<DxHtmlEditor Markup="@markup"
              TableResizeEnabled="false"
              Width="100%" />

@code {
    string markup = "";
    protected override void OnInitialized() {
        markup = GetData();
    }
}
See Also