BlockMovedEventArgs
Class
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
Constructors
Initializes event data for a moved floating block.
C#
public BlockMovedEventArgs(FloatingBlock floatingBlock, Point movedOffset, Point positionInImage, MouseEventArgs e)
The floating block being moved.
movedOffsetPointThe total drag offset.
positionInImagePointThe pointer position relative to the adorner at drag start.
eMouseEventArgsThe 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; }