Class DragStartEventArgs
Provides arguments for the OnDragStart event, which is triggered when the user begins dragging the dialog.
Inherited Members
Namespace: Syncfusion.Blazor.Popups
Assembly: Syncfusion.Blazor.dll
Syntax
public class DragStartEventArgs
Remarks
This event can be used to prepare for the drag operation or to prevent it by canceling the event if applicable.
Constructors
DragStartEventArgs()
Declaration
public DragStartEventArgs()
Properties
Element
Gets the DOM element of the dialog that is about to be 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 start 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 at the start of the drag.
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 on which the drag was initiated.
Declaration
[JsonPropertyName("target")]
public DOM Target { get; set; }
Property Value
| Type | Description |
|---|---|
| DOM | A DOM object representing the target. |
Remarks
This is usually the dialog's header.