Table of Contents

Class ScrollBar

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

A custom scrollbar control.

public abstract class ScrollBar : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Inheritance
ScrollBar
Implements
Derived

Constructors

ScrollBar()

Initializes a new instance of the ScrollBar class.

Properties

DefaultSize

Gets the default size of the control.

LargeChange

Gets or sets the large change amount.

Maximum

Gets or sets the maximum value.

Minimum

Gets or sets the minimum value.

Orientation

The scrollbar Orientation - horizontal / vertical.

Renderer

Gets or sets IScrollBarRenderer for the scrollbar.

SmallChange

Gets or sets the small change amount.

Value

Gets or sets the value.

VisualStyle

Gets or sets visual style of the scrollbar.

Methods

BeginUpdate()

Prevents the drawing of the control until EndUpdate() is called.

CreateStandardRenderer()
Dispose(bool)

Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.

EndUpdate()

Ends the updating process and the control can draw itself again.

OnEnabledChanged(EventArgs)

Raises the EnabledChanged event.

OnMouseDown(MouseEventArgs)

Raises the MouseDown event.

OnMouseEnter(EventArgs)

Raises the MouseEnter event.

OnMouseLeave(EventArgs)

Raises the MouseLeave event.

OnMouseMove(MouseEventArgs)

Raises the MouseMove event.

OnMouseUp(MouseEventArgs)

Raises the MouseUp event.

OnPaint(PaintEventArgs)

Paints the control.

OnPaintBackground(PaintEventArgs)

Paints the background of the control.

OnPaintOver(ScrollBarPaintEventArgs)
OnScroll(ScrollEventArgs)

Raises the Scroll event.

OnSizeChanged(EventArgs)

Raises the SizeChanged event.

ProcessDialogKey(Keys)

Processes a dialog key.

Events

PaintOver

Occurs when scrollbar paints its content.

Scroll

Occurs when the scrollbar scrolled.