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

Provides the cancellation status and displacement reported by a thumb drag source.

Some built-in thumb implementations report zero movement even after a drag; the ruler thumb reports its final displacement.

Definition

Namespace:Telerik.WinControls.RichTextEditor.UI

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class DragCompletedEventArgs : EventArgs

Inheritance: objectEventArgsDragCompletedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes event data without a displacement; both change values are set to zero.

C#
public DragCompletedEventArgs(bool canceled)
Parameters:canceledbool

true if the drag was canceled; otherwise, false.

Initializes event data with the displacement reported by the drag source and its cancellation status.

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

The signed horizontal displacement reported by the source.

verticalChangedouble

The signed vertical displacement reported by the source.

canceledbool

true if the drag was canceled; otherwise, false.

Properties

Gets whether the drag was canceled rather than completed normally.

C#
public bool Canceled { get; }

Gets the signed horizontal displacement reported by the drag source.

C#
public double HorizontalChange { get; }

Gets the signed vertical displacement reported by the drag source.

C#
public double VerticalChange { get; }