Class
BlockMovedEventArgs

Provides data for the BlockMoved event.

Definition

Namespace:Telerik.Windows.Documents.UI.Adorner

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class BlockMovedEventArgs : EventArgs

Inheritance: objectEventArgsBlockMovedEventArgs

Inherited Members EventArgs.Empty

Constructors

BlockMovedEventArgs(FloatingBlock, Point, Point, MouseEventArgs)

Declaration

cs-api-definition
public BlockMovedEventArgs(FloatingBlock floatingBlock, Point movedOffset, Point positionInImage, MouseEventArgs e)

Parameters

floatingBlock

FloatingBlock

movedOffset

Point

positionInImage

Point

e

MouseEventArgs

Properties

MouseEventArgs

Represents the event arguments for the BlockMoved event, containing information about the mouse event.

Declaration

cs-api-definition
public MouseEventArgs MouseEventArgs { get; }

Property Value

MouseEventArgs

MousePositionInImage

Gets the position of the mouse within the image during the block move event.

Declaration

cs-api-definition
public Point MousePositionInImage { get; }

Property Value

Point

A Point representing the mouse position in the image.

MovedOffset

Represents the offset by which a block has been moved in the document.

Declaration

cs-api-definition
public Point MovedOffset { get; }

Property Value

Point

TargetFloatingBlock

Gets the target floating block associated with the block moved event.

Declaration

cs-api-definition
public FloatingBlock TargetFloatingBlock { get; }

Property Value

FloatingBlock