Table of Contents

Interface IHitTestInfo

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

Contains information about an area of an Edit control.

public interface IHitTestInfo

Properties

Bookmark

When implemented by a class, 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

When implemented by a class, gets or sets the IBookmark group, evaluated by the hit-test operation.

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.

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

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.

Page

When implemented by a class, 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

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.

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.