Class ToolStripExThemeRenderer
Inheritance
System.Object
ToolStripExThemeRenderer
Assembly: Syncfusion.Tools.Windows.dll
public class ToolStripExThemeRenderer : ToolStripProfessionalRenderer
Constructors
Declaration
public ToolStripExThemeRenderer(MiniToolBar miniToolBar)
Parameters
Declaration
public ToolStripExThemeRenderer(RibbonControlAdv ribbon)
Parameters
Declaration
public ToolStripExThemeRenderer(ToolStripEx toolStripEx)
Parameters
Properties
Declaration
protected Bitmap CheckButton { get; }
Property Value
Type |
System.Drawing.Bitmap |
Declaration
public Bitmap LauncerImageSelected { get; }
Property Value
Type |
System.Drawing.Bitmap |
Declaration
public Bitmap LauncherImageNormal { get; }
Property Value
Type |
System.Drawing.Bitmap |
Declaration
protected Pen MenuItemBorder { get; }
Property Value
Declaration
public ToolStripExThemeRenderer.ToolStripExThemeRendererUtils RendererHelper { get; set; }
Property Value
Declaration
public ToolStripExThemeRenderer.ERENDERTYPE RenderType { get; set; }
Property Value
Methods
Declaration
protected Bitmap ArrowDownImage(ToolStripItem item)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItem |
item |
|
Returns
Type |
System.Drawing.Bitmap |
Declaration
protected Bitmap ArrowRightImage(ToolStripItem item)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItem |
item |
|
Returns
Type |
System.Drawing.Bitmap |
Declaration
public void DrawBorders(ToolStrip ts)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStrip |
ts |
|
Declaration
public void DrawCaption(ToolStrip ts)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStrip |
ts |
|
Draws the compact scroller.
Declaration
protected virtual void DrawCompactScrollers(Graphics g, ToolStripGallery gallery)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
ToolStripGallery |
gallery |
ToolStrip Gallery
|
Declaration
protected virtual void DrawEtchedBorders(ToolStrip ts)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStrip |
ts |
|
Draws the standard scroll bar.
Declaration
protected virtual void DrawStandardScrollers(Graphics g, ToolStripGallery gallery)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
ToolStripGallery |
gallery |
ToolStrip Gallery
|
Declaration
protected Pen GetKnownPen(ToolStripExThemeRenderer.EPEN ePen, Color color, int width)
Parameters
Returns
Declaration
protected override void Initialize(ToolStrip toolStrip)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStrip |
toolStrip |
|
Declaration
protected override void OnRenderArrow(ToolStripArrowRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripArrowRenderEventArgs |
e |
|
Declaration
protected override void OnRenderButtonBackground(ToolStripItemRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItemRenderEventArgs |
e |
|
Declaration
protected override void OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItemRenderEventArgs |
e |
|
Declaration
protected override void OnRenderGrip(ToolStripGripRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripGripRenderEventArgs |
e |
|
Declaration
protected override void OnRenderImageMargin(ToolStripRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripRenderEventArgs |
e |
|
Declaration
protected override void OnRenderItemBackground(ToolStripItemRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItemRenderEventArgs |
e |
|
Declaration
protected override void OnRenderItemCheck(ToolStripItemImageRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItemImageRenderEventArgs |
e |
|
Declaration
protected override void OnRenderItemImage(ToolStripItemImageRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItemImageRenderEventArgs |
e |
|
OnRenderItemText(ToolStripItemTextRenderEventArgs)
Declaration
protected override void OnRenderItemText(ToolStripItemTextRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItemTextRenderEventArgs |
e |
|
Declaration
protected override void OnRenderLabelBackground(ToolStripItemRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItemRenderEventArgs |
e |
|
Declaration
protected override void OnRenderMenuItemBackground(ToolStripItemRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItemRenderEventArgs |
e |
|
Declaration
protected override void OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItemRenderEventArgs |
e |
|
Declaration
protected override void OnRenderSeparator(ToolStripSeparatorRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripSeparatorRenderEventArgs |
e |
|
Declaration
protected override void OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItemRenderEventArgs |
e |
|
Declaration
protected override void OnRenderStatusStripSizingGrip(ToolStripRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripRenderEventArgs |
e |
|
Declaration
protected override void OnRenderToolStripBackground(ToolStripRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripRenderEventArgs |
e |
|
Declaration
protected override void OnRenderToolStripBorder(ToolStripRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripRenderEventArgs |
e |
|
OnRenderToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs)
Declaration
protected override void OnRenderToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripContentPanelRenderEventArgs |
e |
|
Declaration
protected override void OnRenderToolStripPanelBackground(ToolStripPanelRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripPanelRenderEventArgs |
e |
|
Declaration
protected override void OnRenderToolStripStatusLabelBackground(ToolStripItemRenderEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItemRenderEventArgs |
e |
|
Gets the Left Arrow for OverflowDropDown items.
Declaration
protected Bitmap OverflowItemLeftArrow(ToolStripItem item)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItem |
item |
Represents the ToolStripItem.
|
Returns
Type |
Description |
System.Drawing.Bitmap |
Returns the Left Arrow as bitmap.
|
Declaration
protected Bitmap OverflowItemRightArrow(ToolStripItem item)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ToolStripItem |
item |
|
Returns
Type |
System.Drawing.Bitmap |
Paints the background of the selected gallery item.
Declaration
protected void PaintBackgroundSelected(Graphics g, Rectangle rc, Color clMetro)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
System.Drawing.Rectangle |
rc |
Bounds of the item.
|
System.Drawing.Color |
clMetro |
Color
|
Paints the Down arrow of the scroll button for standard scroller.
Declaration
protected virtual void PaintDownArrow(Graphics g, Rectangle rect, Color c)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
System.Drawing.Rectangle |
rect |
Rectangle of the scroll button
|
System.Drawing.Color |
c |
Color of the arrow
|
Paints the DropDown arrow of the scroll button for compact scroller.
Declaration
protected virtual void PaintDropDownArrow(Graphics g, Rectangle rect, Color c)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
System.Drawing.Rectangle |
rect |
Rectangle of the scroll button
|
System.Drawing.Color |
c |
Color of the arrow
|
Paints the gallery caption area.
Declaration
protected virtual void PaintGalleryCaption(Graphics g, ToolStripGallery gallery)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
ToolStripGallery |
gallery |
ToolStrip Gallery
|
Declaration
protected virtual void PaintGalleryItems(Graphics g, ToolStripGallery gallery)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
ToolStripGallery |
gallery |
ToolStrip Gallery
|
Paints the Down arrow of the scroll button for standard scroller.
Declaration
protected virtual void PaintLargeDownArrow(Graphics g, Rectangle rect, Color c)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
System.Drawing.Rectangle |
rect |
Rectangle of the scroll button
|
System.Drawing.Color |
c |
Color of the arrow
|
Paints the Up arrow of the scroll button for standard scroller.
Declaration
protected virtual void PaintLargeUpArrow(Graphics g, Rectangle rect, Color c)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
System.Drawing.Rectangle |
rect |
Rectangle of the scroll button
|
System.Drawing.Color |
c |
Color of the arrow
|
Paints the scroll button background.
Declaration
protected virtual void PaintScrollButtonBackground(Graphics g, Rectangle rect, ScrollButtonState scrollButtonState)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
System.Drawing.Rectangle |
rect |
Rectangle of the scroller
|
ScrollButtonState |
scrollButtonState |
ScrollButton State
|
Draws te scroll button background.
Declaration
protected virtual void PaintStandardScrollButtonBackground(Graphics g, Rectangle rect, ScrollButtonState scrollButtonState)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
System.Drawing.Rectangle |
rect |
Rectangle of the scroller
|
ScrollButtonState |
scrollButtonState |
ScrollButton State
|
Uesd to draw standard scroll bars.
Declaration
protected virtual void PaintStandardScrollerBackground(Graphics g, Rectangle rect, ScrollButtonState scrollButtonState)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
System.Drawing.Rectangle |
rect |
Rectangle of the scroller
|
ScrollButtonState |
scrollButtonState |
ScrollButton State
|
Paints the Up arrow of the scroll button for compact scroller.
Declaration
protected virtual void PaintUpArrow(Graphics g, Rectangle rect, Color c)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics
|
System.Drawing.Rectangle |
rect |
Rectangle of the scroll button
|
System.Drawing.Color |
c |
Color of the arrow
|