menu

WinForms

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

    Show / Hide Table of Contents

    Class Office2010RibbonPanelRenderer

    The Office2010RibbonPanelRenderer class

    Inheritance
    System.Object
    RibbonPanelRenderer
    Office2010RibbonPanelRenderer
    Inherited Members
    RibbonPanelRenderer.GetBorderWidth(RibbonPanel)
    RibbonPanelRenderer.IsPanelAboveTheTabItem(RibbonPanel)
    RibbonPanelRenderer.LeftArrow
    RibbonPanelRenderer.RightArrow
    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.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class Office2010RibbonPanelRenderer : RibbonPanelRenderer

    Constructors

    Office2010RibbonPanelRenderer()

    Constructor of the Office2010RibbonPanelRenderer

    Declaration
    public Office2010RibbonPanelRenderer()

    Office2010RibbonPanelRenderer(Office2010ColorTable)

    Constructor of the Office2010RibbonPanelRenderer

    Declaration
    public Office2010RibbonPanelRenderer(Office2010ColorTable colorTable)
    Parameters
    Type Name Description
    Office2010ColorTable colorTable

    The Office2010ColorTable

    Methods

    DrawBackground(RibbonPanel, PaintEventArgs)

    Draw the RibbonPanel background.

    Declaration
    public override void DrawBackground(RibbonPanel panel, PaintEventArgs pe)
    Parameters
    Type Name Description
    RibbonPanel panel

    The RibbonPanel instance.

    System.Windows.Forms.PaintEventArgs pe

    The PaintEventArgs contains the data.

    Overrides
    RibbonPanelRenderer.DrawBackground(RibbonPanel, PaintEventArgs)

    DrawBorders(Graphics, RibbonPanel, ToolStripTabGroup, Rectangle)

    Draw the borders

    Declaration
    public override void DrawBorders(Graphics g, RibbonPanel panel, ToolStripTabGroup tsTabGroup, Rectangle rect)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The Graphics object which is used paint the RibbonPanel.

    RibbonPanel panel

    The RibbonPanel instance.

    ToolStripTabGroup tsTabGroup

    The ToolStripTabGroup instance.

    System.Drawing.Rectangle rect

    The rectangle which needs to draw the border.

    Overrides
    RibbonPanelRenderer.DrawBorders(Graphics, RibbonPanel, ToolStripTabGroup, Rectangle)

    DrawFrame(RibbonPanel)

    Draw the Frame.

    Declaration
    public override void DrawFrame(RibbonPanel panel)
    Parameters
    Type Name Description
    RibbonPanel panel

    The RibbonPanel instance.

    Overrides
    RibbonPanelRenderer.DrawFrame(RibbonPanel)

    DrawLeftScroll(Graphics, RibbonPanel, Rectangle)

    Draw the Left scroll button.

    Declaration
    public override void DrawLeftScroll(Graphics g, RibbonPanel panel, Rectangle rect)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The Graphics object which is used paint scroll

    RibbonPanel panel

    The RibbonPanel instance.

    System.Drawing.Rectangle rect

    The rectangle which needs to draw the scroll button.

    Overrides
    RibbonPanelRenderer.DrawLeftScroll(Graphics, RibbonPanel, Rectangle)

    DrawRightScroll(Graphics, RibbonPanel, Rectangle)

    Draw the Right scroll button.

    Declaration
    public override void DrawRightScroll(Graphics g, RibbonPanel panel, Rectangle rect)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The Graphics object which is used paint scroll

    RibbonPanel panel

    The RibbonPanel instance.

    System.Drawing.Rectangle rect

    The rectangle which needs to draw the scroll button.

    Overrides
    RibbonPanelRenderer.DrawRightScroll(Graphics, RibbonPanel, Rectangle)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved