Class DragEventArgs<T>
Provides the information about the drag action on appointments.
Inherited Members
Namespace: Syncfusion.Blazor.Schedule
Assembly: Syncfusion.Blazor.dll
Syntax
public class DragEventArgs<T>
Type Parameters
| Name | Description |
|---|---|
| T | The type of the values of schedule events. |
Constructors
DragEventArgs()
Declaration
public DragEventArgs()
Properties
Cancel
Gets or sets whether the drag action should be canceled or not.
Declaration
[JsonPropertyName("cancel")]
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Data
Gets the data of the dragged event.
Declaration
[JsonIgnore]
public T Data { get; set; }
Property Value
| Type |
|---|
| T |
EndTime
Gets the end time of the drag clone element.
Declaration
[JsonPropertyName("endTime")]
public DateTime EndTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime | A DateTime value representing the end time of the drag clone element. |
ExcludeSelectors
Gets or sets the selectors that can be used to cancel the drop action on a selector target.
Declaration
[JsonPropertyName("excludeSelectors")]
public string ExcludeSelectors { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Accepts the string value. |
GroupIndex
Gets the group index of the cloned element.
Declaration
[JsonPropertyName("groupIndex")]
public int GroupIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int | Accepts an integer value. |
Interval
Gets or sets the interval in minutes for dragging appointments.
Declaration
[JsonPropertyName("interval")]
public int Interval { get; set; }
Property Value
| Type | Description |
|---|---|
| int | Accepts an integer value. |
MouseEventArgs
Gets the mouse event informations.
Declaration
[JsonPropertyName("event")]
public MouseEventArgs MouseEventArgs { get; set; }
Property Value
| Type | Description |
|---|---|
| MouseEventArgs | A MouseEventArgs object representing the mouse event information associated with the event. |
Navigation
Gets or sets the date range navigation action that occurs while dragging.
Declaration
[JsonPropertyName("navigation")]
public NavigateOptions Navigation { get; set; }
Property Value
| Type | Description |
|---|---|
| NavigateOptions | A NavigateOptions value representing the date range navigation action that occurs while dragging. |
Scroll
Gets or sets the scroll-related actions that occur when dragging to the edges of the scheduler.
Declaration
[JsonPropertyName("scroll")]
public ScrollOptions Scroll { get; set; }
Property Value
| Type | Description |
|---|---|
| ScrollOptions | A ScrollOptions value representing the scroll-related actions that occur when dragging to the edges. |
SelectedData
Gets the data of the multiple dragged events.
Declaration
[JsonIgnore]
public List<T> SelectedData { get; set; }
Property Value
| Type |
|---|
| List<T> |
StartTime
Gets the start time of the drag clone element.
Declaration
[JsonPropertyName("startTime")]
public DateTime StartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime | A DateTime value representing the start time of the drag clone element. |