Table of Contents

Class ScrollViewer

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

Represents a scrollable area that can contain other visible elements.

[ControlCategory("Containers")]
public class ScrollViewer : ContainerControl, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo
Inheritance
ScrollViewer
Implements
Derived

Constructors

ScrollViewer()

Initializes a new instance of the ScrollViewer class.

ScrollViewer(Control)

Initializes a new instance of the ScrollViewer class.

Properties

ControlKind

Returns control identifier.

IsScrolledWithMouseWheel

Gets or sets a value indicating whether the scroll viewer is scrolled with the mouse wheel.

Methods

CreateWithChild(AbstractControl?)

Creates ScrollViewer with the specified child control.

GetDefaultLayout()

Gets default layout in case when Layout property is null.

IgnoreChildMouseWheel(AbstractControl?)

Determines whether the mouse wheel event should be ignored for the specified child control.

OnBeforeChildMouseWheel(object?, MouseEventArgs)

Called before the MouseWheel event of the child control is raised.