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

Provides the floating block, drag offset, and pointer data used to complete a block move.

Definition

Namespace:Telerik.WinForms.Documents.UI.Adorner

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class BlockMovedEventArgs : EventArgs

Inheritance: objectEventArgsBlockMovedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes event data for a moved floating block.

C#
public BlockMovedEventArgs(FloatingBlock floatingBlock, Point movedOffset, Point positionInImage, MouseEventArgs e)
Parameters:floatingBlockFloatingBlock

The floating block being moved.

movedOffsetPoint

The total drag offset.

positionInImagePoint

The pointer position relative to the adorner at drag start.

eMouseEventArgs

The mouse event associated with drag completion.

Properties

Gets the mouse event associated with completion of the drag.

C#
public MouseEventArgs MouseEventArgs { get; }

Gets the pointer position relative to the adorner when the drag began.

C#
public Point MousePositionInImage { get; }

Gets the total drag offset from the block's starting position.

C#
public Point MovedOffset { get; }

Gets the floating block being moved.

C#
public FloatingBlock TargetFloatingBlock { get; }