xtd 0.2.0
Loading...
Searching...
No Matches

◆ value() [1/2]

virtual int32 xtd::forms::scroll_bar::value ( ) const
virtualnoexcept

Gets or sets a numeric value that represents the current position of the scroll box on the scroll bar control.

Returns
A numeric value that is within the minimum and maximum range. The default value is 0.
Exceptions
xtd::argument_out_of_range_exceptionThe assigned value is less than the xtd::forms::scroll_bar::minimum property value.
-or-
The assigned value is greater than the xtd::forms::scroll_bar::maximum property value.