ScrollBarExtensions
Wisej.Web.Markup.ScrollBarExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.ScrollBarExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the ScrollBar class.
public class ScrollBarExtensions
Sets the LargeChange property of the specified ScrollBar.
TScrollBar
scrollBar
The scroll bar for which to set the LargeChange property.
value
The value to set for the large increment of the scroll bar.
Returns: TScrollBar. The modified scroll bar with the updated LargeChange property.
This method allows you to specify the amount by which the scroll box moves in response to a large scroll command.
myScrollBar.LargeChange(10);
Sets the Maximum property of the specified ScrollBar.
TScrollBar
scrollBar
The scroll bar for which to set the Maximum property.
value
The maximum value for the scroll bar.
Returns: TScrollBar. The modified scroll bar with the updated Maximum property.
This method allows you to specify the maximum value of the scroll bar.
myScrollBar.Maximum(100);
Sets the Minimum property of the specified ScrollBar.
TScrollBar
scrollBar
The scroll bar for which to set the Minimum property.
value
The minimum value for the scroll bar.
Returns: TScrollBar. The modified scroll bar with the updated Minimum property.
This method allows you to specify the minimum value of the scroll bar.
myScrollBar.Minimum(0);
Sets the AutoHide property of the specified ScrollBar.
TScrollBar
scrollBar
The scroll bar for which to set the AutoHide property.
action
Returns: TScrollBar. The modified scroll bar with the updated AutoHide property.
This method allows you to specify whether the scroll bar should automatically hide when not in use.
myScrollBar.AutoHide(true);
Sets the SmallChange property of the specified ScrollBar.
TScrollBar
scrollBar
The scroll bar for which to set the SmallChange property.
value
The value to set for the small increment of the scroll bar.
Returns: TScrollBar. The modified scroll bar with the updated SmallChange property.
This method allows you to specify the amount by which the scroll box moves in response to a small scroll command.
myScrollBar.SmallChange(1);
Sets the Value property of the specified ScrollBar.
TScrollBar
scrollBar
The scroll bar for which to set the Value property.
value
The value to set for the scroll bar's position.
Returns: TScrollBar. The modified scroll bar with the updated Value property.
This method allows you to specify the current position of the scroll box on the scroll bar.
myScrollBar.Value(50);
The type of the scroll bar, must inherit from .
The type of the scroll bar, must inherit from .
The type of the scroll bar, must inherit from .
The type of the scroll bar, must inherit from .
The type of the scroll bar, must inherit from .
The type of the scroll bar, must inherit from .