Class ClassicRenderer
Inheritance
System.Object
ClassicRenderer
Assembly: Syncfusion.Shared.Base.dll
public class ClassicRenderer : BasicRenderer, IRenderer
Constructors
Declaration
Declaration
public ClassicRenderer(ScrollBarCustomDraw parent)
Parameters
Declaration
protected ClassicRenderer(bool isVerticalScrollBar)
Parameters
| Type |
Name |
Description |
| System.Boolean |
isVerticalScrollBar |
|
Methods
Draws arrow button of scroll. If theme is disabled than draw classic scroll.
Declaration
public override void DrawArrowButton(Graphics g, Rectangle rcArrow, ScrollButton type, ButtonState state)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rcArrow |
|
| System.Windows.Forms.ScrollButton |
type |
|
| System.Windows.Forms.ButtonState |
state |
|
Overrides
Draws background of scroll. If theme is disabled than draw classic scroll.
Declaration
public override void DrawBackground(Graphics g, Rectangle rcBackground, ButtonState state)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rcBackground |
|
| System.Windows.Forms.ButtonState |
state |
|
Overrides
Draws thumb for scroll. If theme is disabled than draw classic scroll.
Declaration
public override void DrawThumb(Graphics g, Rectangle rcThumb, ButtonState state)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rcThumb |
|
| System.Windows.Forms.ButtonState |
state |
|
Overrides
Declaration
protected virtual Bitmap GetOfficeDownArrow(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
| Type |
| System.Drawing.Bitmap |
Declaration
protected virtual Bitmap GetOfficeLeftArrow(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
| Type |
| System.Drawing.Bitmap |
Declaration
protected virtual Bitmap GetOfficeRightArrow(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
| Type |
| System.Drawing.Bitmap |
Declaration
protected virtual Bitmap GetOfficeUpArrow(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
| Type |
| System.Drawing.Bitmap |
Implements