Class FlatScrollBar
Implements the basic functionality of a scroll bar control.
Inheritance
System.Object
FlatScrollBar
Assembly: Syncfusion.Shared.Base.dll
public abstract class FlatScrollBar : ScrollBar, IScrollBar
Constructors
Declaration
Properties
Gets / sets the scroll bar style. Default is Flat style.
Declaration
public FlatScrollBarStyle Appearance { get; set; }
Property Value
Gets / sets the background color of this scrollbar.
Declaration
public override Color BackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
protected override CreateParams CreateParams { get; }
Property Value
Type |
System.Windows.Forms.CreateParams |
Indicates whether the scroll bar is currently in thumb drag mode.
Declaration
public bool IsThumbTracking { get; }
Property Value
Gets / sets the effect of clicking within the scroll bar but outside the scroll box.
Declaration
public int LargeChange { get; set; }
Property Value
Gets / sets the maximum range of the scroll bar. Default is 100.
Declaration
public int Maximum { get; set; }
Property Value
Gets / sets the minimum range of the scroll bar. Default is zero.
Declaration
public int Minimum { get; set; }
Property Value
Declaration
public bool ShowScrollTips { get; set; }
Property Value
Gets / sets the effect of clicking the scroll arrows at each end of the control.
Declaration
public int SmallChange { get; set; }
Property Value
Indicates whether the parent control should show ScrollTips while the user is dragging a scrollbar thumb.
Declaration
public bool SupportsScrollTips { get; set; }
Property Value
Indicates whether the associated control should scroll while the user is dragging a scrollbar thumb.
Declaration
public bool SupportsThumbTrack { get; set; }
Property Value
Gets / sets the starting value of the scroll bar.
Declaration
public int Value { get; set; }
Property Value
Methods
Declaration
protected override void OnBackColorChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Creates the handler. Overridden to help set up scrollbar information.
Declaration
protected override void OnHandleCreated(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnHandleDestroyed(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
public override void Refresh()
Resets the backcolor of the scroll bar.
Declaration
public override void ResetBackColor()
Declaration
protected override void WndProc(ref Message m)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Message |
m |
|
Explicit Interface Implementations
Declaration
bool IScrollBar.get_Enabled()
Returns
Declaration
void IScrollBar.set_Enabled(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Declaration
void IScrollBar.UpdateScrollInfo()
Implements
See Also