menu

WinForms

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

    Show / Hide Table of Contents

    Class BasicRenderer

    Inheritance
    System.Object
    BasicRenderer
    ClassicRenderer
    Implements
    IRenderer
    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 BasicRenderer : IRenderer

    Constructors

    BasicRenderer()

    Declaration
    public BasicRenderer()

    BasicRenderer(ScrollBarCustomDraw)

    Declaration
    public BasicRenderer(ScrollBarCustomDraw parent)
    Parameters
    Type Name Description
    ScrollBarCustomDraw parent

    BasicRenderer(Boolean)

    Declaration
    protected BasicRenderer(bool isVerticalScrollBar)
    Parameters
    Type Name Description
    System.Boolean isVerticalScrollBar

    Fields

    m_isVerticalScroll

    Indicates whether scroll is vertical or horizontal

    Declaration
    protected bool m_isVerticalScroll
    Field Value
    Type
    System.Boolean

    m_parent

    Declaration
    protected ScrollBarCustomDraw m_parent
    Field Value
    Type
    ScrollBarCustomDraw

    Properties

    IsVerticalScrollBar

    Indicates whether scrollBar is vertical or horizontal.

    Declaration
    public virtual bool IsVerticalScrollBar { get; set; }
    Property Value
    Type
    System.Boolean

    Parent

    Declaration
    protected ScrollBarCustomDraw Parent { get; }
    Property Value
    Type
    ScrollBarCustomDraw

    Methods

    DrawArrowButton(Graphics, Rectangle, ScrollButton, ButtonState)

    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

    DrawBackground(Graphics, Rectangle, ButtonState)

    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

    DrawThumb(Graphics, Rectangle, ButtonState)

    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

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