Class DragStartEventArgs
Provides arguments for the OnDragStart event, which is triggered when the user begins dragging the dialog.
Inheritance
Namespace: Syncfusion.Blazor.Popups
Assembly: Syncfusion.Blazor.dll
Syntax
public class DragStartEventArgs : Object
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
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
public MouseEventArgs Event { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.Web.MouseEventArgs | A Microsoft.AspNetCore.Components.Web.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
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 usually the dialog's header.