menu

Blazor

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

    Show / Hide Table of Contents

    Class BeforeImageDropEventArgs

    Represents the information about a OnImageDrop event.

    Inheritance
    System.Object
    BeforeImageDropEventArgs
    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class BeforeImageDropEventArgs : Object
    Remarks

    This class provides details about an image drop action, allowing control over the handling of image insertions.

    Constructors

    BeforeImageDropEventArgs()

    Declaration
    public BeforeImageDropEventArgs()

    Properties

    Cancel

    Gets or sets whether the image drop action should be canceled or not.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the image drop action is canceled; otherwise, false.

    Remarks

    By setting Cancel to true, you can block the insertion of images upon a drag-and-drop event.

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