Class MouseSelectionHandler
This class handles the mouse selection in RadRichTextEditor.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.Selection
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class MouseSelectionHandler
Constructors
MouseSelectionHandler(RadDocument)
Declaration
[Obsolete("This constructor is obsolete. Use the constructor with IDocumentEditorPresenter parameter instead.")]
public MouseSelectionHandler(RadDocument document)
Parameters
Rad
|
MouseSelectionHandler(RadDocument, IDocumentEditorPresenter)
Declaration
public MouseSelectionHandler(RadDocument document, IDocumentEditorPresenter presenter)
Parameters
Rad
|
IDocument
|
Fields
DoubleClickTime
This maximum time between click that is considered double click.
Declaration
public static double DoubleClickTime
Field Value
System.
|
MouseDoubleClickThreshold
The number of pixels that is acceptable for the mouse to move when doble clicking.
Declaration
public static int MouseDoubleClickThreshold
Field Value
System.
|
MouseDragThreshold
The number of pixels that is considered a drag operation.
Declaration
public static int MouseDragThreshold
Field Value
System.
|
Properties
DropPosition
IsClickSelecting
Declaration
public bool IsClickSelecting { get; }
Property Value
System.
|
IsDragging
Declaration
public bool IsDragging { get; }
Property Value
System.
|
IsMoveSelectionDragging
Declaration
public bool IsMoveSelectionDragging { get; }
Property Value
System.
|
IsTracking
Declaration
public bool IsTracking { get; }
Property Value
System.
|
Methods
CancelSelection()
Declaration
public bool CancelSelection()
Returns
System.
|
HandleDocumentCaretPositionChanged(Boolean, Boolean)
Declaration
public void HandleDocumentCaretPositionChanged(bool ctrlPressed, bool shiftPressed)
Parameters
System.
|
System.
|
OnSelectionDragged(SelectionDragEventArgs)
Declaration
protected virtual void OnSelectionDragged(SelectionDragEventArgs e)
Parameters
RegisterDocumentMouseDown(Boolean, Boolean, Point, UIElement, SourceType)
Declaration
public virtual void RegisterDocumentMouseDown(bool ctrlPressed, bool shiftPressed, Point position, UIElement originalSource = null, SourceType source = SourceType.Mouse)
Parameters
System.
|
System.
|
Point
position
|
UIElement
originalSource
|
Source
|
RegisterDocumentMouseMove(Point, SourceType)
Declaration
public virtual void RegisterDocumentMouseMove(Point position, SourceType source = SourceType.Mouse)
Parameters
Point
position
|
Source
|
RegisterDocumentMouseRightButtonDown(UIElement, SourceType)
Declaration
public virtual void RegisterDocumentMouseRightButtonDown(UIElement originalSource, SourceType source = SourceType.Mouse)
Parameters
UIElement
originalSource
|
Source
|
RegisterDocumentMouseUp(SourceType, Nullable<Point>)
Declaration
public virtual void RegisterDocumentMouseUp(SourceType source = SourceType.Mouse, Point? position = default(Point? ))
Parameters
Source
|
System.
|
RegisterDocumentMultipleMouseDown(Boolean, Boolean, Point)
Declaration
protected virtual void RegisterDocumentMultipleMouseDown(bool ctrlPressed, bool shiftPressed, Point position)
Parameters
System.
|
System.
|
Point
position
|
RegisterDocumentSingleMouseDown(Boolean, Boolean, Point, UIElement)
Declaration
protected virtual void RegisterDocumentSingleMouseDown(bool ctrlPressed, bool shiftPressed, Point position, UIElement originalSource)
Parameters
Events
SelectionDragged
Declaration
public event EventHandler<SelectionDragEventArgs> SelectionDragged
Event Type
System.
|