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