alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class BeforeImageDropEventArgs

    Represents the information about a OnImageDrop event.

    Inheritance
    object
    BeforeImageDropEventArgs
    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 BeforeImageDropEventArgs
    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
    bool

    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.

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