Table of Contents

Interface IHitTestInfo

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Contains information about an area of an Edit control.

public interface IHitTestInfo

Properties

GutterImage

When implemented by a class, gets or sets the Gutter ImageIndex, evaluated by the hit-test operation. Contains index of image if mouse is over the gutter image; - 1 otherwise.

HitTest

When implemented by a class, gets or sets the HitTest that represents the area of the Edit control evaluated by the hit-test operation.

Item

When implemented by a class, gets or sets the IStrItem object evaluated by the hit-test operation. Contains instance of IStrItem object if mouse is over text line in Edit control; null otherwise.

Line

When implemented by a class, gets or sets the index of line evaluated by the hit-test operation. Contains index of line if mouse is over text line in Edit control; -1 otherwise.

OutlineIndex

When implemented by a class, gets or sets the index of line where outline image is displayed, evaluated by the hit-test operation. Contains index of line if mouse is over the outline button; - 1 otherwise.

OutlineRange

When implemented by a class, gets or sets the IOutlineRange object evaluated by the hit-test operation. Contains instance of IOutlineRange object if mouse is over outline button; null otherwise.

Pos

When implemented by a class, gets or sets the index of character within the line evaluated by the hit-test operation. Contains index of line if mouse is over some text in Edit control; -1 otherwise.

String

When implemented by a class, gets or sets the text string evaluated by the hit-test operation. Contains string if mouse is over text line in Edit control; null otherwise.

Style

When implemented by a class, gets or sets the index of lexical style evaluated by the hit-test operation. Contains index of lexical style if mouse is over the text; - 1 otherwise.

SyntaxError

When implemented by a class, gets or sets the ISyntaxError object evaluated by the hit-test operation. Contains instance of ISyntaxError object if mouse is over syntax error; null otherwise.

TextStyle

When implemented by a class, gets or sets the set of additional flags for the text fragment evaluated by the hit-test operation.

Url

Gets the hypertext string evaluated by the hit-test operation. Contains string if mouse is over hypertext section in Edit control; null otherwise.

Word

When implemented by a class, gets or sets the word evaluated by the hit-test operation. Contains string if mouse is over some word in Edit control; null otherwise.

Methods

Reset()

When implemented by a class, resets HitTestInfo members to their default values.