WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TouchStyleRibbonPanelRenderer

    Show / Hide Table of Contents

    Class TouchStyleRibbonPanelRenderer

    The TouchStyleRibbonPanelRenderer class.

    Inheritance
    System.Object
    RibbonPanelRenderer
    TouchStyleRibbonPanelRenderer
    Inherited Members
    RibbonPanelRenderer.GetBorderWidth(RibbonPanel)
    RibbonPanelRenderer.IsPanelAboveTheTabItem(RibbonPanel)
    RibbonPanelRenderer.RightArrow
    RibbonPanelRenderer.LeftArrow
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class TouchStyleRibbonPanelRenderer : RibbonPanelRenderer

    Constructors

    TouchStyleRibbonPanelRenderer()

    Constructor of the TouchStyleRibbonPanelRenderer.

    Declaration
    public TouchStyleRibbonPanelRenderer()

    TouchStyleRibbonPanelRenderer(Office2010ColorTable)

    Constructor of the TouchStyleRibbonPanelRenderer.

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

    The Office2010ColorTable.

    Methods

    Draw(Graphics, RibbonPanel, Rectangle)

    Draw the RibbonPanel.

    Declaration
    public void Draw(Graphics g, RibbonPanel panel, Rectangle rc)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The Graphics object which is used paint the RibbonPanel.

    RibbonPanel panel

    The RibbonPanel instance.

    System.Drawing.Rectangle rc

    The rectangle which needs to drawn

    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 - 2023 Syncfusion Inc. All Rights Reserved