menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ClassicRenderer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ClassicRenderer

    Inheritance
    System.Object
    BasicRenderer
    ClassicRenderer
    MetroRenderer
    Office2007Renderer
    Office2010Renderer
    WindowsXPRenderer
    Implements
    IRenderer
    Inherited Members
    BasicRenderer.IsVerticalScrollBar
    BasicRenderer.m_isVerticalScroll
    BasicRenderer.m_parent
    BasicRenderer.Parent
    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
    BasicRenderer.DrawArrowButton(Graphics, Rectangle, ScrollButton, ButtonState)

    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
    BasicRenderer.DrawBackground(Graphics, Rectangle, ButtonState)

    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
    BasicRenderer.DrawThumb(Graphics, Rectangle, ButtonState)

    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

    Implements

    IRenderer
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved