GenericScroller Properties

DownArrow

The button to scroll down.

Syntax: Button DownArrow { get; }

IsActive

Determines whether the scroller is active, meaning that the content can be scrolled. This is done by first checking if the DownArrow is shown. If this is the case it also checks if the DownArrow or the UpArrow is active.

Syntax: bool IsActive { get; }

IsAtBottom

Determines whether the scrollbar is at the bottom, meaning the content is scrolled to the end.

Syntax: bool IsAtBottom { get; }

IsAtTop

Determines whether the scrollbar is at the top, meaning the content is scrolled to the beginning.

Syntax: bool IsAtTop { get; }

MaxScrollTime

The maximum time the scroller is allowed to try to scroll to the top or bottom before throwing an exception. Default = 60 seconds.

Syntax: double MaxScrollTime { get; set; } = 60;

MoveApproachOffset

The offset that is used when moving to the positions on the scrollbar. By default set to (-10, 0) to avoid hovering effects on the button or thumb when moving to position just below or above those elements.

Syntax: Point MoveApproachOffset { get; set; }

RequiredStableTime

The time for how long the scrollable area must be stable during the stable check after each scrolling action. Default = 2 seconds.

Syntax: double RequiredStableTime { get; set; } = 2;

SearchSelect

Gets or sets the search select filter with which the scroller elements can be found. This area is checked for stable screen after scrolling to ensure the scrolling animation is finished.

Syntax: Select SearchSelect { get; set; }

UpArrow

The button to scroll up.

Syntax: Button UpArrow { get; }

UpdateTolerance

The tolerance for the stable check after each scrolling action. Might need to be adjusted if there are continuous animations in the scrollable area.

Syntax: ImgDiffTolerance UpdateTolerance { get; set; }

Last updated