77 references to ColorTable
System.Windows.Forms (77)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
26
return renderer.
ColorTable
;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (75)
107
get { return (
ColorTable
.UseSystemColors || !ToolStripManager.VisualStylesEnabled); }
302
Color.Silver.GetCachedSolidBrushScope() :
ColorTable
.ButtonSelectedBorder.GetCachedSolidBrushScope();
373
using var pen =
ColorTable
.ButtonSelectedBorder.GetCachedPenScope();
387
using var pen =
ColorTable
.ButtonSelectedBorder.GetCachedPenScope();
420
using (var pen =
ColorTable
.ToolStripBorder.GetCachedPenScope())
465
FillWithDoubleGradient(
ColorTable
.OverflowButtonGradientBegin,
ColorTable
.OverflowButtonGradientMiddle,
ColorTable
.OverflowButtonGradientEnd, e.Graphics, edging, _iconWellGradientWidth, _iconWellGradientWidth, LinearGradientMode.Vertical, /*flipHorizontal=*/false);
523
using var gripLightBrush =
ColorTable
.GripLight.GetCachedSolidBrushScope();
531
using var gripDarkBrush =
ColorTable
.GripDark.GetCachedSolidBrushScope();
566
Color borderColor =
ColorTable
.MenuItemBorder;
578
ColorTable
.MenuItemSelectedGradientBegin,
579
ColorTable
.MenuItemSelectedGradientEnd,
622
Color borderColor =
ColorTable
.MenuItemBorder;
635
ColorTable
.MenuItemSelectedGradientBegin,
636
ColorTable
.MenuItemSelectedGradientEnd,
662
using var pen =
ColorTable
.MenuItemBorder.GetCachedPenScope();
701
Color begin = (rightToLeft == RightToLeft.No) ?
ColorTable
.ImageMarginGradientBegin :
ColorTable
.ImageMarginGradientEnd;
702
Color end = (rightToLeft == RightToLeft.No) ?
ColorTable
.ImageMarginGradientEnd :
ColorTable
.ImageMarginGradientBegin;
704
FillWithDoubleGradient(begin,
ColorTable
.ImageMarginGradientMiddle, end, e.Graphics, bounds, _iconWellGradientWidth, _iconWellGradientWidth, LinearGradientMode.Horizontal, /*flipHorizontal=*/(e.ToolStrip.RightToLeft == RightToLeft.Yes));
796
RenderBackgroundGradient(e.Graphics, toolStripPanel,
ColorTable
.ToolStripPanelGradientBegin,
ColorTable
.ToolStripPanelGradientEnd);
822
e.Graphics.Clear(
ColorTable
.ToolStripContentPanelGradientEnd);
916
overflowBottomLeftShadow =
ColorTable
.ButtonPressedGradientBegin;
921
overflowBottomLeftShadow =
ColorTable
.ButtonSelectedGradientMiddle;
926
overflowBottomLeftShadow =
ColorTable
.ToolStripBorder;
927
overflowTopShadow =
ColorTable
.ToolStripGradientMiddle;
1025
using Pen p = new(
ColorTable
.StatusStripBorder);
1037
ColorTable
.StatusStripGradientBegin,
1038
ColorTable
.StatusStripGradientEnd,
1056
Color fill = (e.Item.Selected) ?
ColorTable
.CheckSelectedBackground :
ColorTable
.CheckBackground;
1057
fill = (e.Item.Pressed) ?
ColorTable
.CheckPressedBackground : fill;
1061
using var pen =
ColorTable
.ButtonSelectedBorder.GetCachedPenScope();
1089
ColorTable
.MenuItemPressedGradientBegin,
1090
ColorTable
.MenuItemPressedGradientEnd,
1095
using var pen =
ColorTable
.MenuBorder.GetCachedPenScope();
1101
RenderBackgroundGradient(e.Graphics, e.ToolStrip,
ColorTable
.MenuStripGradientBegin,
ColorTable
.MenuStripGradientEnd, e.ToolStrip.Orientation);
1178
FillWithDoubleGradient(
ColorTable
.ToolStripGradientBegin,
ColorTable
.ToolStripGradientMiddle,
ColorTable
.ToolStripGradientEnd, e.Graphics, bounds, _iconWellGradientWidth, _iconWellGradientWidth, mode, /*flipHorizontal=*/false);
1185
using var brush =
ColorTable
.ToolStripDropDownBackground.GetCachedSolidBrushScope();
1197
using (var pen =
ColorTable
.MenuBorder.GetCachedPenScope())
1205
using var brush =
ColorTable
.ToolStripDropDownBackground.GetCachedSolidBrushScope();
1243
overflowButtonGradientBegin =
ColorTable
.ButtonPressedGradientBegin;
1244
overflowButtonGradientMiddle =
ColorTable
.ButtonPressedGradientMiddle;
1245
overflowButtonGradientEnd =
ColorTable
.ButtonPressedGradientEnd;
1246
overflowBottomLeftShadow =
ColorTable
.ButtonPressedGradientBegin;
1251
overflowButtonGradientBegin =
ColorTable
.ButtonSelectedGradientBegin;
1252
overflowButtonGradientMiddle =
ColorTable
.ButtonSelectedGradientMiddle;
1253
overflowButtonGradientEnd =
ColorTable
.ButtonSelectedGradientEnd;
1254
overflowBottomLeftShadow =
ColorTable
.ButtonSelectedGradientMiddle;
1259
overflowButtonGradientBegin =
ColorTable
.OverflowButtonGradientBegin;
1260
overflowButtonGradientMiddle =
ColorTable
.OverflowButtonGradientMiddle;
1261
overflowButtonGradientEnd =
ColorTable
.OverflowButtonGradientEnd;
1262
overflowBottomLeftShadow =
ColorTable
.ToolStripBorder;
1263
overflowTopShadow = horizontal ?
ColorTable
.ToolStripGradientMiddle :
ColorTable
.ToolStripGradientEnd;
1351
using (var brush =
ColorTable
.ToolStripGradientMiddle.GetCachedSolidBrushScope())
1385
using (var brush =
ColorTable
.ToolStripGradientEnd.GetCachedSolidBrushScope())
1415
ColorTable
.ButtonSelectedGradientBegin,
1416
ColorTable
.ButtonSelectedGradientEnd,
1423
using var brush =
ColorTable
.ButtonSelectedHighlight.GetCachedSolidBrushScope();
1439
ColorTable
.ButtonCheckedGradientBegin,
1440
ColorTable
.ButtonCheckedGradientEnd,
1447
using var brush =
ColorTable
.ButtonCheckedHighlight.GetCachedSolidBrushScope();
1495
using var foreColorPen =
ColorTable
.SeparatorDark.GetCachedPenScope();
1496
using var highlightColorPen =
ColorTable
.SeparatorLight.GetCachedPenScope();
1551
ColorTable
.ButtonPressedGradientBegin,
1552
ColorTable
.ButtonPressedGradientEnd,
1558
using var brush =
ColorTable
.ButtonPressedHighlight.GetCachedSolidBrushScope();
1595
using var pen =
ColorTable
.ButtonSelectedBorder.GetCachedPenScope();
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
61
return renderer.
ColorTable
;