Routes editor mouse input while handling hosted inline UI containers and scrollbars specially.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class RadRichTextEditorComponentInputBehavior : ComponentInputBehavior, IDisposable
Inheritance: objectComponentBehaviorComponentInputBehaviorRadRichTextEditorComponentInputBehavior
Implements:
Inherited Members
Constructors
Creates input behavior for the supplied component tree, enabling editor-specific handling when its owner is a RadRichTextEditor.
public RadRichTextEditorComponentInputBehavior(IComponentTreeHandler owner)
The component tree that receives input.
Methods
Determines whether the pointer is inside a visible editor scrollbar.
protected virtual bool IsMouseOverScrollbar(MouseEventArgs e)
The mouse event whose location is tested.
Returns:true if the pointer is within a visible horizontal or vertical scrollbar; otherwise, false.
Dispatches a click to the selected, captured, or hit-tested element when mouse input is enabled; scrollbar hits are consumed.
Dispatches a double-click to the selected, captured, or hit-tested element when mouse input is enabled; scrollbar hits are consumed.
Routes mouse-down directly to hosted inline UI containers and consumes hits on visible scrollbars.
public override bool OnMouseDown(MouseEventArgs e)
The mouse event used to locate the target element.
Returns:Whether the event was handled by the element tree or consumed by a scrollbar.
Overrides:
Lets hosted inline UI containers receive ordinary movement and consumes movement over scrollbars or captured scrollbar elements.
public override bool OnMouseMove(MouseEventArgs e)
The mouse event used to locate the target element.
Returns:Whether the event was handled by the element tree or consumed by a scrollbar.
Overrides:
Routes mouse-up events to hosted inline UI containers and consumes scrollbar hits when the editor or scrollbar owns capture.
public override bool OnMouseUp(MouseEventArgs e)
The mouse event used to locate the target element.
Returns:Whether the event was handled by the element tree or consumed by a scrollbar.
Overrides:
Forwards mouse-wheel input through the base component behavior using its mouse-button event arguments.
public override bool OnMouseWheel(MouseEventArgs e)
The mouse-wheel event.
Returns:The result of the base mouse-wheel processing.
Overrides: