Table of Contents

Class HitTestInfo

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

Contains information about an area of an Edit control.

public class HitTestInfo : IHitTestInfo
Inheritance
HitTestInfo
Implements

Properties

Bookmark

Gets or sets the IBookmark index, evaluated by the hit-test operation. Contains index of the bookmark if mouse is over the gutter image; - 1 otherwise.

Group

Gets or sets the IBookmark group, evaluated by the hit-test operation.

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.

GutterImageRect

Gets or sets the area of gutter image, evaluated by the hit-test operation. Contains area of the 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.

Page

Gets or sets the index of page evaluated by the hit-test operation. Contains index of page if mouse is over text page in Edit control; 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.

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.