Class Office2013RibbonPanelRenderer
The Office2013RibbonPanelRenderer class.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class Office2013RibbonPanelRenderer : RibbonPanelRenderer
Constructors
Office2013RibbonPanelRenderer()
Constructor of the Office2013RibbonPanelRenderer
Declaration
public Office2013RibbonPanelRenderer()
Office2013RibbonPanelRenderer(Office2010ColorTable)
Constructor of the Office2013RibbonPanelRenderer
Declaration
public Office2013RibbonPanelRenderer(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
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
DrawFrame(RibbonPanel)
Draw the Frame.
Declaration
public override void DrawFrame(RibbonPanel panel)
Parameters
Type | Name | Description |
---|---|---|
RibbonPanel | panel | The RibbonPanel instance. |
Overrides
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
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. |