Table of Contents

Method IsMouseOverScrollBar

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

IsMouseOverScrollBar()

Determines whether the mouse pointer is currently positioned over a scroll bar or thumb within the control.

protected virtual bool IsMouseOverScrollBar()

Returns

bool

true if the mouse pointer is over a scroll bar or thumb; otherwise, false.

Remarks

This method checks if the control has its own interior and performs a hit test to determine whether the mouse pointer is over a scroll bar or thumb. Override this method to customize the behavior for detecting mouse interactions with scrollable elements.