Class ClassicRenderer
Inheritance
System.Object
ClassicRenderer
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Renderers
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ClassicRenderer : BasicRenderer, IRenderer
Constructors
ClassicRenderer()
Declaration
public ClassicRenderer()
ClassicRenderer(ScrollBarCustomDraw)
Declaration
public ClassicRenderer(ScrollBarCustomDraw parent)
Parameters
Type | Name | Description |
---|---|---|
ScrollBarCustomDraw | parent |
ClassicRenderer(Boolean)
Declaration
protected ClassicRenderer(bool isVerticalScrollBar)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isVerticalScrollBar |
Methods
DrawArrowButton(Graphics, Rectangle, ScrollButton, ButtonState)
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
DrawBackground(Graphics, Rectangle, ButtonState)
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
DrawThumb(Graphics, Rectangle, ButtonState)
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
GetOfficeDownArrow(Int32, Int32)
Down office arrow.
Declaration
protected virtual Bitmap GetOfficeDownArrow(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | |
System.Int32 | height |
Returns
Type |
---|
System.Drawing.Bitmap |
GetOfficeLeftArrow(Int32, Int32)
Left office arrow.
Declaration
protected virtual Bitmap GetOfficeLeftArrow(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | |
System.Int32 | height |
Returns
Type |
---|
System.Drawing.Bitmap |
GetOfficeRightArrow(Int32, Int32)
Right office arrow.
Declaration
protected virtual Bitmap GetOfficeRightArrow(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | |
System.Int32 | height |
Returns
Type |
---|
System.Drawing.Bitmap |
GetOfficeUpArrow(Int32, Int32)
Up office arrow.
Declaration
protected virtual Bitmap GetOfficeUpArrow(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | |
System.Int32 | height |
Returns
Type |
---|
System.Drawing.Bitmap |