This class handles the mouse selection in RadRichTextEditor.
Definition
Namespace:Telerik.WinForms.Documents.Selection
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class MouseSelectionHandler
Inheritance: objectMouseSelectionHandler
Constructors
C#
public MouseSelectionHandler(RadDocument document, IDocumentEditorPresenter presenter)
Fields
This maximum time between click that is considered double click.
C#
public static double DoubleClickTime
The number of pixels that is acceptable for the mouse to move when doble clicking.
C#
public static int MouseDoubleClickThreshold
The number of pixels that is considered a drag operation.
C#
public static int MouseDragThreshold
Properties
C#
public DocumentPosition DropPosition { get; }
C#
public bool IsClickSelecting { get; }
C#
public bool IsDragging { get; }
C#
public bool IsMoveSelectionDragging { get; }
C#
public bool IsTracking { get; }
Methods
C#
protected virtual void OnSelectionDragged(SelectionDragEventArgs e)
C#
public virtual void RegisterDocumentMouseDown(bool ctrlPressed, bool shiftPressed, Point position, UIElement originalSource = null, SourceType source = SourceType.Mouse)
C#
public virtual void RegisterDocumentMouseMove(Point position, SourceType source = SourceType.Mouse)
C#
public virtual void RegisterDocumentMouseRightButtonDown(UIElement originalSource, SourceType source = SourceType.Mouse)
C#
public virtual void RegisterDocumentMouseUp(SourceType source = SourceType.Mouse, Point? position = null)
Events
C#
public event EventHandler<SelectionDragEventArgs> SelectionDragged