Class MouseSelectionHandler
Inheritance
System.Object
MouseSelectionHandler
Namespace: Telerik.Windows.Documents.Selection
Assembly: Telerik.Windows.Documents.dll
Syntax
public class MouseSelectionHandler : Object
Constructors
MouseSelectionHandler(RadDocument)
MouseSelectionHandler(RadDocument, IDocumentEditorPresenter)
Declaration
public MouseSelectionHandler(RadDocument document, IDocumentEditorPresenter presenter)
Parameters
RadDocument
document
|
IDocumentEditorPresenter
presenter
|
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)
Parameters
System.Boolean
ctrlPressed
|
System.Boolean
shiftPressed
|
System.Windows.Point
position
|
System.Windows.UIElement
originalSource
|
SourceType
source
|
RegisterDocumentMouseMove(Point, SourceType)
Declaration
public void RegisterDocumentMouseMove(Point position, SourceType source)
Parameters
System.Windows.Point
position
|
SourceType
source
|
RegisterDocumentMouseRightButtonDown(UIElement, SourceType)
Declaration
public void RegisterDocumentMouseRightButtonDown(UIElement originalSource, SourceType source)
Parameters
System.Windows.UIElement
originalSource
|
SourceType
source
|
RegisterDocumentMouseUp(SourceType)
Events
SelectionDragged
Declaration
public event EventHandler<SelectionDragEventArgs> SelectionDragged
Event Type
System.EventHandler<SelectionDragEventArgs>
|