Class DragEventArgs
Provides arguments for the OnDrag event, which is triggered while the dialog is being dragged.
Inherited Members
Namespace: Syncfusion.Blazor.Popups
Assembly: Syncfusion.Blazor.dll
Syntax
public class DragEventArgs
Remarks
This event fires continuously as the user moves the dialog across the screen.
Constructors
DragEventArgs()
Declaration
public DragEventArgs()
Properties
Element
Gets the DOM element of the dialog that is being dragged.
Declaration
[JsonPropertyName("element")]
public DOM Element { get; set; }
Property Value
| Type | Description |
|---|---|
| DOM | A DOM object representing the dialog element. |
Remarks
This is the main element being moved.
Event
Gets the browser's mouse event arguments for the drag action.
Declaration
[JsonPropertyName("event")]
public MouseEventArgs Event { get; set; }
Property Value
| Type | Description |
|---|---|
| MouseEventArgs | A MouseEventArgs object. |
Remarks
This provides detailed information about the mouse state, such as its current position.
Name
Gets the name of the event.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The event name as a |
Remarks
Identifies the fired event.
Target
Gets the target element of the drag operation.
Declaration
[JsonPropertyName("target")]
public DOM Target { get; set; }
Property Value
| Type | Description |
|---|---|
| DOM | A DOM object representing the target. |
Remarks
This is the element that the user initiated the drag on, which is usually the dialog's header.