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 |
|
Remarks
By setting Cancel to true, you can block the insertion of images upon a drag-and-drop event.