InterfaceISyntaxEditorPresenter
SyntaxEditorPresenter behavior definition.
Definition
Namespace:Telerik.WinForms.SyntaxEditor.UI
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public interface ISyntaxEditorPresenter
Properties
Editor
Gets the editor.
Declaration
RadSyntaxEditorElement Editor { get; }
Property Value
The editor.
HorizontalScrollOffset
Gets the horizontal scroll offset.
Declaration
double HorizontalScrollOffset { get; }
Property Value
The horizontal scroll offset.
VerticalScrollOffset
Gets the vertical scroll offset.
Declaration
double VerticalScrollOffset { get; }
Property Value
The vertical scroll offset.
Methods
GetDocumentPointFromPosition(CaretPosition)
Gets the document point from position.
Declaration
Point GetDocumentPointFromPosition(CaretPosition position)
Parameters
position
The position.
Returns
Point.
GetDocumentPointFromViewPoint(Point)
Gets the document point from view point.
GetPositionFromViewPoint(Point)
Gets the position from view point.
Declaration
CaretPosition GetPositionFromViewPoint(Point point)
Parameters
point
The point.
Returns
CaretPosition.
GetViewPointFromDocumentPoint(Point)
Gets the view point from document point.
GetViewPointFromPosition(CaretPosition)
Gets the view point from position.
Declaration
Point GetViewPointFromPosition(CaretPosition position)
Parameters
position
The position.
Returns
Point.
MoveCaretToPositionInView(CaretPosition, Point, bool)
Moves the caret to position in view.
Declaration
void MoveCaretToPositionInView(CaretPosition caretPosition, Point positionInView, bool moveToNextIfOutOfBox)
Parameters
caretPosition
The caret position.
positionInView
The position in view.
moveToNextIfOutOfBox
If set to true [move to next if out of box].
MoveDropMarker(CaretPosition)
Moves the drop marker.
Declaration
void MoveDropMarker(CaretPosition position)
Parameters
position
The position.
ShowDropMarker(CaretPosition)
Shows the drop marker.
Declaration
void ShowDropMarker(CaretPosition position)
Parameters
position
The position.
Events
ViewportChanged
Occurs when [viewport changed].