Wisej.Web.Markup.ScrollableControlExtensions
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the ScrollableControl class.
Sets the AutoScroll property for the specified ScrollableControl, enabling or disabling automatic scrolling.
TControl
control
The scrollable control for which to set the AutoScroll property.
autoScroll
A boolean value indicating whether to enable automatic scrolling. Default is false
.
Returns: TControl. The scrollable control with the updated AutoScroll property.
This method allows you to control whether the control automatically displays scroll bars when its contents exceed its visible boundaries.
Attaches a scroll event handler to a ScrollableControl.
TControl
The type of the scrollable control.
control
The control to which the scroll event handler is attached.
action
The action to perform when the scroll event is triggered.
Returns: TControl. The control with the attached scroll event handler.
This method allows you to easily attach a scroll event handler to a scrollable control. The provided action is executed whenever the scroll event occurs.
The type of the control, which must inherit from .