Class ScrollThumbOptions
- Namespace
- LightningChartLib.WinForms.Charting
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Represents a scroll bar thumb.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class ScrollThumbOptions : ChartNode, IChartNode, IDisposable
- Inheritance
-
ScrollThumbOptions
- Implements
- Derived
- Inherited Members
Constructors
ScrollThumbOptions()
Default constructor.
public ScrollThumbOptions()
ScrollThumbOptions(ScrollBarBase)
Constructor.
public ScrollThumbOptions(ScrollBarBase owner)
Parameters
ownerScrollBarBaseparam owner M:LightningChartLib.WinForms.Charting.ScrollThumbOptions.#ctor(LightningChartLib.WinForms.Charting.ScrollBarBase)
Properties
AutoSize
Automatically size the scroll buttons. Height is set to match bar height.
public bool AutoSize { get; set; }
Property Value
BorderColor
Border color
public Color BorderColor { get; set; }
Property Value
BorderWidth
Border width
public double BorderWidth { get; set; }
Property Value
Color1
Color 1
public Color Color1 { get; set; }
Property Value
Color2
Color 2
public Color Color2 { get; set; }
Property Value
GradientFill
Gradient fill
public GradientFillPoint GradientFill { get; set; }
Property Value
Height
Height in pixels.
public double Height { get; set; }
Property Value
Remarks
Disable AutoSize to use this.
LinearGradientDirection
Gradient direction
public Direction LinearGradientDirection { get; set; }
Property Value
Style
Button style
public ScrollButtonStyle Style { get; set; }
Property Value
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed, otherwise false.