menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DragEventArgs<T> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DragEventArgs<T>

    Provides the information about the drag action on appointments.

    Inheritance
    System.Object
    DragEventArgs<T>
    Namespace: Syncfusion.Blazor.Schedule
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class DragEventArgs<T> : Object
    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
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    true, if the drag action is canceled. Otherwise, false.

    Data

    Gets the data of the dragged event.

    Declaration
    public T Data { get; set; }
    Property Value
    Type
    T

    EndTime

    Gets the end time of the drag clone element.

    Declaration
    public DateTime EndTime { get; set; }
    Property Value
    Type Description
    System.DateTime

    A System.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
    public string ExcludeSelectors { get; set; }
    Property Value
    Type Description
    System.String

    Accepts the string value.

    GroupIndex

    Gets the group index of the cloned element.

    Declaration
    public int GroupIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    Accepts an integer value.

    Interval

    Gets or sets the interval in minutes for dragging appointments.

    Declaration
    public int Interval { get; set; }
    Property Value
    Type Description
    System.Int32

    Accepts an integer value.

    Left

    Gets the client X value of the target element.

    Declaration
    public double Left { get; set; }
    Property Value
    Type Description
    System.Double

    Accepts the double value.

    MouseEventArgs

    Gets the mouse event informations.

    Declaration
    public MouseEventArgs MouseEventArgs { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.Web.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
    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
    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
    public List<T> SelectedData { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<T>

    StartTime

    Gets the start time of the drag clone element.

    Declaration
    public DateTime StartTime { get; set; }
    Property Value
    Type Description
    System.DateTime

    A System.DateTime value representing the start time of the drag clone element.

    Top

    Gets the client Y value of the target element.

    Declaration
    public double Top { get; set; }
    Property Value
    Type Description
    System.Double

    Accepts the double value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved