Table of Contents

Struct InteriorDrawable.HitTestsResult

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Contains full hit test result, including interior part and scrollbar part.

public readonly struct InteriorDrawable.HitTestsResult

Constructors

HitTestsResult(HitTestResult, HitTestResult, EnumArray<HitTestResult, RectD>, EnumArray<HitTestResult, RectD>, ScrollBarInfo)

Initializes a new instance of the InteriorDrawable.HitTestsResult struct.

Fields

Interior

Gets interior hit test result.

InteriorRectangles

Gets the collection of interior rectangles associated with hit test results.

ScrollBar

Gets interior scrollbar test result. Valid if Interior hit test contains scrollbars.

ScrollPosition

Gets the position of the scroll bar.

ScrollRectangles

Represents a collection of rectangles associated with different hit test results for a scroll bar.

Properties

IsAfterOrBeforeScrollBarThumb

Gets a value indicating whether the current scroll bar hit test result is either after or before the scrollbar thumb.

IsCorner

Gets whether hit test is on the corner which is below vertical scrollbar.

IsHorzScrollBar

Gets whether hit test is on horizontal scrollbar.

IsNone

Gets whether hit test is outside of anything.

IsScrollBar

Gets whether hit test is on horizontal or vertical scrollbar.

IsScrollBarButton

Gets a value indicating whether the current scroll bar hit test result is a button.

IsThumb

Gets a value indicating whether hit test is on scroll bar thumb.

IsVertScrollBar

Gets whether hit test is on vertical scrollbar.

NeedRepeatedClick

Gets a value indicating whether repeated clicks are needed for the current element.

Orientation

Gets horizontal or vertical orientation depending on IsVertScrollBar property value.

Methods

ToString()

Returns a string that represents the current object.