Interface IScrollBar
Defines an interface that provides all properties to configure a scrollbar.
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public interface IScrollBar
Properties
Enabled
Gets or sets a number that represents the current position of the scroll box on the scroll bar control.
Declaration
bool Enabled { get; set; }
Property Value
Type |
---|
System.Boolean |
IsThumbTracking
Indicates whether the scrollbar is in thumb drag mode.
Declaration
bool IsThumbTracking { get; }
Property Value
Type |
---|
System.Boolean |
LargeChange
Gets or sets a value to be added to or subtracted from the value of the property when the scroll box is moved a large distance.
Declaration
int LargeChange { get; set; }
Property Value
Type |
---|
System.Int32 |
Maximum
Gets or sets the upper limit of values of the scrollable range.
Declaration
int Maximum { get; set; }
Property Value
Type |
---|
System.Int32 |
Minimum
Gets or sets the lower limit of values of the scrollable range.
Declaration
int Minimum { get; set; }
Property Value
Type |
---|
System.Int32 |
SmallChange
Gets or sets the value to be added to or subtracted from the value of the property when the scroll box is moved a small distance.
Declaration
int SmallChange { get; set; }
Property Value
Type |
---|
System.Int32 |
SupportsScrollTips
Indicates whether ScrollTips should be shown for the scrollbar.
Declaration
bool SupportsScrollTips { get; set; }
Property Value
Type |
---|
System.Boolean |
SupportsThumbTrack
Enables or disables thumbtrack feature for the scrollbar.
Declaration
bool SupportsThumbTrack { get; set; }
Property Value
Type |
---|
System.Boolean |
Value
Gets or sets a numeric value that represents the current position of the scroll box on the scroll bar control.
Declaration
int Value { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
UpdateScrollInfo()
Updates the scrollbar with latest changes to current position and scrollable range.
Declaration
void UpdateScrollInfo()