Table of Contents

Class HitTestInfo

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

Contains information about an area of an Edit control.

public class HitTestInfo : IHitTestInfo
Inheritance
HitTestInfo
Implements

Properties

GutterImage

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

Gets or sets the HitTest that represents the area of the Edit control evaluated by the hit-test operation.

Item

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

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

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

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

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

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

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

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

Gets or sets the set of additional flags for the text fragment evaluated by the hit-test operation.

Url

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

Word

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()

Resets HitTestInfo members to their default values.