WinForms

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

    Show / Hide Table of Contents

    Class ToolStripExThemeRenderer

    Inheritance
    System.Object
    ToolStripExThemeRenderer
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class ToolStripExThemeRenderer : ToolStripProfessionalRenderer

    Constructors

    ToolStripExThemeRenderer(MiniToolBar)

    Declaration
    public ToolStripExThemeRenderer(MiniToolBar miniToolBar)
    Parameters
    Type Name Description
    MiniToolBar miniToolBar

    ToolStripExThemeRenderer(RibbonControlAdv)

    Declaration
    public ToolStripExThemeRenderer(RibbonControlAdv ribbon)
    Parameters
    Type Name Description
    RibbonControlAdv ribbon

    ToolStripExThemeRenderer(ToolStripEx)

    Declaration
    public ToolStripExThemeRenderer(ToolStripEx toolStripEx)
    Parameters
    Type Name Description
    ToolStripEx toolStripEx

    Properties

    CheckButton

    Declaration
    protected Bitmap CheckButton { get; }
    Property Value
    Type Description
    System.Drawing.Bitmap

    LauncerImageSelected

    Declaration
    public Bitmap LauncerImageSelected { get; }
    Property Value
    Type Description
    System.Drawing.Bitmap

    LauncherImageNormal

    Declaration
    public Bitmap LauncherImageNormal { get; }
    Property Value
    Type Description
    System.Drawing.Bitmap

    MenuItemBorder

    Declaration
    protected Pen MenuItemBorder { get; }
    Property Value
    Type Description
    System.Drawing.Pen

    RendererHelper

    Declaration
    public ToolStripExThemeRenderer.ToolStripExThemeRendererUtils RendererHelper { get; set; }
    Property Value
    Type Description
    ToolStripExThemeRenderer.ToolStripExThemeRendererUtils

    RenderType

    Declaration
    public ToolStripExThemeRenderer.ERENDERTYPE RenderType { get; set; }
    Property Value
    Type Description
    ToolStripExThemeRenderer.ERENDERTYPE

    Methods

    ArrowDownImage(ToolStripItem)

    Declaration
    protected Bitmap ArrowDownImage(ToolStripItem item)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItem item
    Returns
    Type Description
    System.Drawing.Bitmap

    ArrowRightImage(ToolStripItem)

    Declaration
    protected Bitmap ArrowRightImage(ToolStripItem item)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItem item
    Returns
    Type Description
    System.Drawing.Bitmap

    DrawBorders(ToolStrip)

    Declaration
    public void DrawBorders(ToolStrip ts)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStrip ts

    DrawCaption(ToolStrip)

    Declaration
    public void DrawCaption(ToolStrip ts)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStrip ts

    DrawCompactScrollers(Graphics, ToolStripGallery)

    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

    DrawEtchedBorders(ToolStrip)

    Declaration
    protected virtual void DrawEtchedBorders(ToolStrip ts)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStrip ts

    DrawStandardScrollers(Graphics, ToolStripGallery)

    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

    GetKnownPen(ToolStripExThemeRenderer.EPEN, Color, Int32)

    Declaration
    protected Pen GetKnownPen(ToolStripExThemeRenderer.EPEN ePen, Color color, int width)
    Parameters
    Type Name Description
    ToolStripExThemeRenderer.EPEN ePen
    System.Drawing.Color color
    System.Int32 width
    Returns
    Type Description
    System.Drawing.Pen

    Initialize(ToolStrip)

    Declaration
    protected override void Initialize(ToolStrip toolStrip)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStrip toolStrip

    OnRenderArrow(ToolStripArrowRenderEventArgs)

    Declaration
    protected override void OnRenderArrow(ToolStripArrowRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripArrowRenderEventArgs e

    OnRenderButtonBackground(ToolStripItemRenderEventArgs)

    Declaration
    protected override void OnRenderButtonBackground(ToolStripItemRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItemRenderEventArgs e

    OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs)

    Declaration
    protected override void OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItemRenderEventArgs e

    OnRenderGrip(ToolStripGripRenderEventArgs)

    Declaration
    protected override void OnRenderGrip(ToolStripGripRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripGripRenderEventArgs e

    OnRenderImageMargin(ToolStripRenderEventArgs)

    Declaration
    protected override void OnRenderImageMargin(ToolStripRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripRenderEventArgs e

    OnRenderItemBackground(ToolStripItemRenderEventArgs)

    Declaration
    protected override void OnRenderItemBackground(ToolStripItemRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItemRenderEventArgs e

    OnRenderItemCheck(ToolStripItemImageRenderEventArgs)

    Declaration
    protected override void OnRenderItemCheck(ToolStripItemImageRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItemImageRenderEventArgs e

    OnRenderItemImage(ToolStripItemImageRenderEventArgs)

    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

    OnRenderLabelBackground(ToolStripItemRenderEventArgs)

    Declaration
    protected override void OnRenderLabelBackground(ToolStripItemRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItemRenderEventArgs e

    OnRenderMenuItemBackground(ToolStripItemRenderEventArgs)

    Declaration
    protected override void OnRenderMenuItemBackground(ToolStripItemRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItemRenderEventArgs e

    OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs)

    Declaration
    protected override void OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItemRenderEventArgs e

    OnRenderSeparator(ToolStripSeparatorRenderEventArgs)

    Declaration
    protected override void OnRenderSeparator(ToolStripSeparatorRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripSeparatorRenderEventArgs e

    OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs)

    Declaration
    protected override void OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItemRenderEventArgs e

    OnRenderStatusStripSizingGrip(ToolStripRenderEventArgs)

    Declaration
    protected override void OnRenderStatusStripSizingGrip(ToolStripRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripRenderEventArgs e

    OnRenderToolStripBackground(ToolStripRenderEventArgs)

    Declaration
    protected override void OnRenderToolStripBackground(ToolStripRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripRenderEventArgs e

    OnRenderToolStripBorder(ToolStripRenderEventArgs)

    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

    OnRenderToolStripPanelBackground(ToolStripPanelRenderEventArgs)

    Declaration
    protected override void OnRenderToolStripPanelBackground(ToolStripPanelRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripPanelRenderEventArgs e

    OnRenderToolStripStatusLabelBackground(ToolStripItemRenderEventArgs)

    Declaration
    protected override void OnRenderToolStripStatusLabelBackground(ToolStripItemRenderEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItemRenderEventArgs e

    OverflowItemLeftArrow(ToolStripItem)

    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.

    OverflowItemRightArrow(ToolStripItem)

    Declaration
    protected Bitmap OverflowItemRightArrow(ToolStripItem item)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStripItem item
    Returns
    Type Description
    System.Drawing.Bitmap

    PaintBackgroundSelected(Graphics, Rectangle, Color)

    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

    PaintDownArrow(Graphics, Rectangle, 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

    PaintDropDownArrow(Graphics, Rectangle, Color)

    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

    PaintGalleryCaption(Graphics, ToolStripGallery)

    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

    PaintGalleryItems(Graphics, ToolStripGallery)

    Paints the gallery items

    Declaration
    protected virtual void PaintGalleryItems(Graphics g, ToolStripGallery gallery)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    Graphics

    ToolStripGallery gallery

    ToolStrip Gallery

    PaintLargeDownArrow(Graphics, Rectangle, Color)

    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

    PaintLargeUpArrow(Graphics, Rectangle, Color)

    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

    PaintScrollButtonBackground(Graphics, Rectangle, ScrollButtonState)

    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

    PaintStandardScrollButtonBackground(Graphics, Rectangle, ScrollButtonState)

    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

    PaintStandardScrollerBackground(Graphics, Rectangle, ScrollButtonState)

    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

    PaintUpArrow(Graphics, Rectangle, Color)

    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved