Class DragStopEventArgs
Provides arguments for the OnDragStop event, which is triggered when the user stops dragging the dialog.
Inheritance
Namespace: Syncfusion.Blazor.Popups
Assembly: Syncfusion.Blazor.dll
Syntax
public class DragStopEventArgs : Object
Remarks
This event is useful for performing actions after the dialog has been moved to a new position.
Constructors
DragStopEventArgs()
Declaration
public DragStopEventArgs()
Properties
Element
Gets the DOM element of the dialog that was dragged.
Declaration
public DOM Element { get; set; }
Property Value
Type | Description |
---|---|
DOM | A DOM object representing the dialog. |
Remarks
This refers to the main dialog element.
Event
Gets the browser's mouse event arguments for the drag stop action.
Declaration
public MouseEventArgs Event { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.Web.MouseEventArgs | A Microsoft.AspNetCore.Components.Web.MouseEventArgs object. |
Remarks
This provides details such as the final position of the mouse cursor.
Helper
Gets the drag helper element, which is a visual proxy of the dialog during the drag operation.
Declaration
public DOM Helper { get; set; }
Property Value
Type | Description |
---|---|
DOM | A DOM object for the helper element. |
Remarks
The helper element provides a lightweight representation of the dialog while dragging.
Name
Gets the name of the event.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The event name as a |
Remarks
Identifies the fired event.
Target
Gets the target element on which the drag was initiated.
Declaration
public DOM Target { get; set; }
Property Value
Type | Description |
---|---|
DOM | A DOM object representing the target. |
Remarks
This is generally the dialog's header.