menu

WinForms

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

    Show / Hide Table of Contents

    Class Office2007Renderer

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

    Constructors

    Office2007Renderer(ScrollBarCustomDraw, ColorTableOffice2007)

    Initialize new instance of Office2007Renderer

    Declaration
    public Office2007Renderer(ScrollBarCustomDraw parent, ColorTableOffice2007 colorTable)
    Parameters
    Type Name Description
    ScrollBarCustomDraw parent
    ColorTableOffice2007 colorTable

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

    GetHorizontalBrush(ref Rectangle, Color, Color)

    Declaration
    protected LinearGradientBrush GetHorizontalBrush(ref Rectangle rc, Color cl1, Color cl2)
    Parameters
    Type Name Description
    System.Drawing.Rectangle rc
    System.Drawing.Color cl1
    System.Drawing.Color cl2
    Returns
    Type
    System.Drawing.Drawing2D.LinearGradientBrush

    GetOfficeDownArrow(Int32, Int32)

    Down office arrow.

    Declaration
    protected override Bitmap GetOfficeDownArrow(int width, int height)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height
    Returns
    Type
    System.Drawing.Bitmap
    Overrides
    ClassicRenderer.GetOfficeDownArrow(Int32, Int32)

    GetOfficeDownArrowNormal(Int32, Int32)

    Down Normal office arrow.

    Declaration
    protected Bitmap GetOfficeDownArrowNormal(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 override Bitmap GetOfficeLeftArrow(int width, int height)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height
    Returns
    Type
    System.Drawing.Bitmap
    Overrides
    ClassicRenderer.GetOfficeLeftArrow(Int32, Int32)

    GetOfficeLeftArrowNormal(Int32, Int32)

    Left Normal office arrow.

    Declaration
    protected Bitmap GetOfficeLeftArrowNormal(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 override Bitmap GetOfficeRightArrow(int width, int height)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height
    Returns
    Type
    System.Drawing.Bitmap
    Overrides
    ClassicRenderer.GetOfficeRightArrow(Int32, Int32)

    GetOfficeRightArrowNormal(Int32, Int32)

    Right Normal office arrow.

    Declaration
    protected Bitmap GetOfficeRightArrowNormal(int width, int height)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height
    Returns
    Type
    System.Drawing.Bitmap

    GetOfficeThumbLinesHorizontal()

    Horizontal thumb lines.

    Declaration
    protected Bitmap GetOfficeThumbLinesHorizontal()
    Returns
    Type
    System.Drawing.Bitmap

    GetOfficeThumbLinesVertical()

    Vertical thumb lines.

    Declaration
    protected Bitmap GetOfficeThumbLinesVertical()
    Returns
    Type
    System.Drawing.Bitmap

    GetOfficeUpArrow(Int32, Int32)

    Up office arrow.

    Declaration
    protected override Bitmap GetOfficeUpArrow(int width, int height)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height
    Returns
    Type
    System.Drawing.Bitmap
    Overrides
    ClassicRenderer.GetOfficeUpArrow(Int32, Int32)

    GetOfficeUpArrowNormal(Int32, Int32)

    Up Normal office arrow.

    Declaration
    protected Bitmap GetOfficeUpArrowNormal(int width, int height)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height
    Returns
    Type
    System.Drawing.Bitmap

    GetRoundedPolygon(Rectangle, Int32)

    Declaration
    public static Point[] GetRoundedPolygon(Rectangle rc, int iRadius)
    Parameters
    Type Name Description
    System.Drawing.Rectangle rc
    System.Int32 iRadius
    Returns
    Type
    System.Drawing.Point[]

    GetVerticalBrush(ref Rectangle, Color, Color)

    Declaration
    protected LinearGradientBrush GetVerticalBrush(ref Rectangle rc, Color cl1, Color cl2)
    Parameters
    Type Name Description
    System.Drawing.Rectangle rc
    System.Drawing.Color cl1
    System.Drawing.Color cl2
    Returns
    Type
    System.Drawing.Drawing2D.LinearGradientBrush

    GetVerticalBrush(Int32, Int32, Color, Color)

    Declaration
    protected LinearGradientBrush GetVerticalBrush(int top, int height, Color cl1, Color cl2)
    Parameters
    Type Name Description
    System.Int32 top
    System.Int32 height
    System.Drawing.Color cl1
    System.Drawing.Color cl2
    Returns
    Type
    System.Drawing.Drawing2D.LinearGradientBrush

    Implements

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