RichTextKit v0.4

TextDocument.Navigate Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Editor
Declaring Type: TextDocument

Handles keyboard navigation events

public Topten.RichTextKit.CaretPosition Navigate(Topten.RichTextKit.CaretPosition position, NavigationKind kind, float pageSize, ref Nullable<float> ghostXCoord);


Topten.RichTextKit.CaretPosition position

The current caret position

NavigationKind kind

The direction and type of caret movement

float pageSize

Specifies the page size for page up/down navigation

ref Nullable<float> ghostXCoord

Transient storage for XCoord of caret during vertical navigation



The new caret position

Subscribe for more like this. No spam, just fun tech stuff :)

Or, find me on Twitter: @toptensoftware.