New to Telerik UI for WinForms? Start a free 30-day trial

Provides the change values and cancellation state for a completed drag.

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public class DragCompletedEventArgs : EventArgs

Inheritance: objectEventArgsDragCompletedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes drag completion data with zero horizontal and vertical changes.

C#
public DragCompletedEventArgs(bool canceled)
Parameters:canceledbool

true if the drag was canceled; otherwise, false.

Initializes drag completion data with the final changes and cancellation state.

C#
public DragCompletedEventArgs(double horizontalChange, double verticalChange, bool canceled)
Parameters:horizontalChangedouble

The horizontal change associated with the completed drag.

verticalChangedouble

The vertical change associated with the completed drag.

canceledbool

true if the drag was canceled; otherwise, false.

Properties

Gets whether the drag was canceled.

C#
public bool Canceled { get; }

Gets the horizontal change associated with the completed drag.

C#
public double HorizontalChange { get; }

Gets the vertical change associated with the completed drag.

C#
public double VerticalChange { get; }