Class TouchStyleRibbonPanelRenderer
The TouchStyleRibbonPanelRenderer class.
Inherited Members
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
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. |