Class BasicRenderer
Inheritance
System.Object
BasicRenderer
Assembly: Syncfusion.Shared.Base.dll
public class BasicRenderer : Object, IRenderer
Constructors
Declaration
Declaration
public BasicRenderer(ScrollBarCustomDraw parent)
Parameters
Declaration
protected BasicRenderer(bool isVerticalScrollBar)
Parameters
| Type |
Name |
Description |
| System.Boolean |
isVerticalScrollBar |
|
Fields
Indicates whether scroll is vertical or horizontal
Declaration
protected bool m_isVerticalScroll
Field Value
Declaration
protected ScrollBarCustomDraw m_parent
Field Value
Properties
Indicates whether scrollBar is vertical or horizontal.
Declaration
public virtual bool IsVerticalScrollBar { get; set; }
Property Value
Declaration
protected ScrollBarCustomDraw Parent { get; }
Property Value
Methods
Declaration
public virtual void DrawArrowButton(Graphics g, Rectangle bounds, ScrollButton type, ButtonState state)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
bounds |
|
| System.Windows.Forms.ScrollButton |
type |
|
| System.Windows.Forms.ButtonState |
state |
|
Declaration
public virtual void DrawBackground(Graphics g, Rectangle bounds, ButtonState state)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
bounds |
|
| System.Windows.Forms.ButtonState |
state |
|
Declaration
public virtual void DrawThumb(Graphics g, Rectangle bounds, ButtonState state)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
bounds |
|
| System.Windows.Forms.ButtonState |
state |
|
Implements