ISyntaxEditorPresenter
SyntaxEditorPresenter behavior definition.
Definition
Namespace:Telerik.Windows.Controls.SyntaxEditor.UI
Assembly:Telerik.Windows.Controls.SyntaxEditor.dll
Syntax:
public interface ISyntaxEditorPresenter
Derived Classes:
Properties
Gets the editor.
RadSyntaxEditor Editor { get; }
The editor.
Gets the horizontal scroll offset.
double HorizontalScrollOffset { get; }
The horizontal scroll offset.
Gets the vertical scroll offset.
double VerticalScrollOffset { get; }
The vertical scroll offset.
Viewport
Rect
Gets the viewport.
Rect Viewport { get; }
The viewport.
Methods
Gets the document point from position.
Point GetDocumentPointFromPosition(CaretPosition position)
The position.
Returns:Point
Point.
Gets the document point from view point.
Point GetDocumentPointFromViewPoint(Point point)
The point.
Returns:Point
Point.
Gets the position from view point.
CaretPosition GetPositionFromViewPoint(Point point)
The point.
Returns:CaretPosition.
Gets the view point from document point.
Point GetViewPointFromDocumentPoint(Point point)
The point.
Returns:Point
Point.
Gets the view point from position.
Point GetViewPointFromPosition(CaretPosition position)
The position.
Returns:Point
Point.
Hides the drop marker.
void HideDropMarker()
Moves the caret to position in view.
void MoveCaretToPositionInView(CaretPosition caretPosition, Point positionInView, bool moveToNextIfOutOfBox)
The caret position.
positionInViewPointThe position in view.
moveToNextIfOutOfBoxboolIf set to true [move to next if out of box].
Moves the drop marker.
Shows the drop marker.
Events
Occurs when [viewport changed].
event EventHandler ViewportChanged