Class DragAndDropEventArgs
Provides information about the drag and drop events callback.
Inheritance
Namespace: Syncfusion.Blazor.Navigations
Assembly: Syncfusion.Blazor.dll
Syntax
public class DragAndDropEventArgs : Object
Constructors
DragAndDropEventArgs()
Declaration
public DragAndDropEventArgs()
Properties
Cancel
Gets or sets whether the drag and drop action should be cancelled or not.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
DraggedNodeData
Gets or sets the currently dragged node as array of JSON object from data source.
Declaration
public NodeData DraggedNodeData { get; set; }
Property Value
Type | Description |
---|---|
NodeData | A NodeData object that represents the currently dragged node from the data source. |
DropIndex
Gets or sets the dragged/dropped element's target index position.
Declaration
public Nullable<int> DropIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | Accepts an integer value. |
DropIndicator
Gets or sets the cloned element's drop status icon while dragging.
Declaration
public string DropIndicator { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
DropLevel
Gets or sets the dragged/dropped element's target level.
Declaration
public Nullable<int> DropLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | Accepts an integer value. |
DroppedNodeData
Gets or sets the dropped node as array of JSON object from data source.
Declaration
public NodeData DroppedNodeData { get; set; }
Property Value
Type | Description |
---|---|
NodeData | A NodeData object that represents the dropped node from the data source. |
Event
Gets the actual drag/drop event.
Declaration
public object Event { get; }
Property Value
Type | Description |
---|---|
System.Object | An object that represents the event object associated with the drag/drop operation. |
Left
Gets the Client X value of target element.
Declaration
public double Left { get; }
Property Value
Type | Description |
---|---|
System.Double | Accepts the double value. |
Name
Gets or sets the actual drag/drop Event name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
PreventTargetExpand
Gets or sets the boolean value for preventing auto-expanding of parent node.
Declaration
public bool PreventTargetExpand { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Top
Gets the Client Y value of target element.
Declaration
public double Top { get; }
Property Value
Type | Description |
---|---|
System.Double | Accepts the double value. |