Class ThemedScrollButton
Draws a themed scroll button.
Inheritance
System.Object
ThemedScrollButton
Implements
System.IDisposable
Assembly: Syncfusion.Shared.Base.dll
public class ThemedScrollButton : ThemedButtonBase, IThemeProvider, IVisualStyle, IDisposable
Constructors
Initializes a new object.
Declaration
public ThemedScrollButton()
Properties
Declaration
public virtual Color ArrowColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets / sets the type of scroll arrow.
Declaration
public ScrollButton ButtonType { get; set; }
Property Value
Type |
System.Windows.Forms.ScrollButton |
Declaration
public bool Transparent { get; set; }
Property Value
Methods
Disposes all resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Declaration
protected override void DrawNotThemedControl(Graphics g, ButtonState buttonState, CheckState checkState)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
System.Windows.Forms.ButtonState |
buttonState |
|
System.Windows.Forms.CheckState |
checkState |
|
Overrides
Declaration
protected override void DrawStyledControl(Graphics g, ButtonState buttonState, CheckState checkState)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
System.Windows.Forms.ButtonState |
buttonState |
|
System.Windows.Forms.CheckState |
checkState |
|
Overrides
Declaration
protected override void DrawThemedControl(Graphics g, ButtonState buttonState, CheckState checkState)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
System.Windows.Forms.ButtonState |
buttonState |
|
System.Windows.Forms.CheckState |
checkState |
|
Overrides
Returns the color for paint control background.
Declaration
protected virtual Color GetBackColor(ButtonState buttonState)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ButtonState |
buttonState |
|
Returns
Type |
System.Drawing.Color |
Declaration
protected virtual Brush GetBackGroundBrush(ButtonState buttonState)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ButtonState |
buttonState |
|
Returns
Type |
System.Drawing.Brush |
Declaration
protected virtual Pen GetBorderPen(ButtonState buttonState)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ButtonState |
buttonState |
|
Returns
Implements
System.IDisposable