Table of Contents

Interface ISimpleRichTextBox

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Provides access to the RichTextBox or TextBox methods and properties.

public interface ISimpleRichTextBox

Properties

CurrentPosition

Gets or sets current position of the caret.

InsertionPointLineNumber

Gets the line number (zero-based) with the cursor.

LastLineNumber

Gets the last line number (zero-based).

Name

Gets or sets name of the control.

Methods

SetInsertionPoint(long)

Sets the insertion point and causes the current editing style to be taken from the new position (unlike SetCaretPosition(long, bool)).

ShowPosition(long)

Scrolls the buffer so that the given position is in view.

XYToPosition(long, long)

Translates from column and line number to position.

Events

CurrentPositionChanged

Occurs when CurrentPosition property value changes.