Class Office2016ToolStripRenderer
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class Office2016ToolStripRenderer : ToolStripProfessionalRenderer
Constructors
Office2016ToolStripRenderer()
Declaration
public Office2016ToolStripRenderer()
Office2016ToolStripRenderer(Office2010ColorTable, Office2016ToolStripRenderer.ERENDERTYPE)
Declaration
public Office2016ToolStripRenderer(Office2010ColorTable colorTable, Office2016ToolStripRenderer.ERENDERTYPE erType)
Parameters
Type | Name | Description |
---|---|---|
Office2010ColorTable | colorTable | |
Office2016ToolStripRenderer.ERENDERTYPE | erType |
Properties
ArrowDownImage
Declaration
protected Bitmap ArrowDownImage { get; }
Property Value
Type |
---|
System.Drawing.Bitmap |
ArrowRightImage
Declaration
protected Bitmap ArrowRightImage { get; }
Property Value
Type |
---|
System.Drawing.Bitmap |
CheckButton
Declaration
protected Bitmap CheckButton { get; }
Property Value
Type |
---|
System.Drawing.Bitmap |
LauncerImageSelected
Declaration
public Bitmap LauncerImageSelected { get; }
Property Value
Type |
---|
System.Drawing.Bitmap |
LauncherImageNormal
Declaration
public Bitmap LauncherImageNormal { get; }
Property Value
Type |
---|
System.Drawing.Bitmap |
MenuItemBorder
Declaration
protected Pen MenuItemBorder { get; }
Property Value
Type |
---|
System.Drawing.Pen |
OverflowItemLeftArrow
Gets the Left Arrow for OverflowDropDown items.
Declaration
protected Bitmap OverflowItemLeftArrow { get; }
Property Value
Type |
---|
System.Drawing.Bitmap |
OverflowItemRightArrow
Declaration
protected Bitmap OverflowItemRightArrow { get; }
Property Value
Type |
---|
System.Drawing.Bitmap |
RendererHelper
Declaration
public Office2016ToolStripRenderer.Office2016ToolStripRendererUtils RendererHelper { get; set; }
Property Value
Type |
---|
Office2016ToolStripRenderer.Office2016ToolStripRendererUtils |
RenderType
Declaration
public Office2016ToolStripRenderer.ERENDERTYPE RenderType { get; set; }
Property Value
Type |
---|
Office2016ToolStripRenderer.ERENDERTYPE |
Methods
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 |
GetDownArrowSize()
Declaration
public Size GetDownArrowSize()
Returns
Type |
---|
System.Drawing.Size |
GetKnownPen(Office2016ToolStripRenderer.EPEN, Color, Int32)
Declaration
protected Pen GetKnownPen(Office2016ToolStripRenderer.EPEN ePen, Color color, int width)
Parameters
Type | Name | Description |
---|---|---|
Office2016ToolStripRenderer.EPEN | ePen | |
System.Drawing.Color | color | |
System.Int32 | width |
Returns
Type |
---|
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 |
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, Office2016ColorScheme, Office2016ColorTable)
Paints the scroll button background.
Declaration
protected virtual void PaintScrollButtonBackground(Graphics g, Rectangle rect, ScrollButtonState scrollButtonState, Office2016ColorScheme scheme, Office2016ColorTable colorTable)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics |
System.Drawing.Rectangle | rect | Rectangle of the scroller |
ScrollButtonState | scrollButtonState | ScrollButton State |
Office2016ColorScheme | scheme | |
Office2016ColorTable | colorTable |
PaintScrollerBackground(Graphics, Rectangle, ScrollButtonState)
Paints the background of the Scroller.
Declaration
protected virtual void PaintScrollerBackground(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 |