Table of Contents

Class DummyScrollEventRouter

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

Provides a no-op implementation of the IScrollEventRouter interface.

public class DummyScrollEventRouter : IScrollEventRouter
Inheritance
DummyScrollEventRouter
Implements

Remarks

This class is intended as a placeholder or default implementation of IScrollEventRouter. It performs no actual scrolling actions and returns default values for all operations. Use the Default property to access a shared instance of this class.

Properties

Default

Gets the default instance of the DummyScrollEventRouter class.

Methods

CalcScrollBarInfo(out ScrollBarInfo, out ScrollBarInfo)

Calculates and retrieves information about the horizontal and vertical scroll bars.

DoActionScrollCharLeft()

Scrolls the control horizontally by one char to the left.

DoActionScrollCharRight()

Scrolls the control horizontally by one char to the right.

DoActionScrollLineDown()

Scrolls the control down by one line.

DoActionScrollLineUp()

Scrolls the control up by one line.

DoActionScrollPageDown()

Scrolls the control down by one page.

DoActionScrollPageLeft()

Scrolls the control horizontally by one page to the left.

DoActionScrollPageRight()

Scrolls the control horizontally by one page to the right.

DoActionScrollPageUp()

Scrolls the control up by one page.

DoActionScrollToFirstChar()

Scrolls the control horizontally to the first char.

DoActionScrollToFirstLine()

Scrolls to the first line in the control.

DoActionScrollToHorzPos(int)

Sets horizontal scroll offset.

DoActionScrollToLastLine()

Scrolls to the last line in the control.

DoActionScrollToVertPos(int)

Sets vertical scroll offset.