74 references to ColorTable
System.Windows.Forms (74)
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
621
return renderer.
ColorTable
;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (72)
108
get { return (
ColorTable
.UseSystemColors || !ToolStripManager.VisualStylesEnabled); }
275
using (Brush b = new SolidBrush(
ColorTable
.ButtonSelectedBorder)) {
334
using (Pen p = new Pen(
ColorTable
.ButtonSelectedBorder)) {
346
using (Pen p = new Pen(
ColorTable
.ButtonSelectedBorder)) {
378
using (Pen p = new Pen(
ColorTable
.ToolStripBorder)) {
415
FillWithDoubleGradient(
ColorTable
.OverflowButtonGradientBegin,
ColorTable
.OverflowButtonGradientMiddle,
ColorTable
.OverflowButtonGradientEnd, e.Graphics, edging, iconWellGradientWidth, iconWellGradientWidth, LinearGradientMode.Vertical, /*flipHorizontal=*/false);
469
using (Brush b = new SolidBrush(
ColorTable
.GripLight)) {
477
using (Brush b = new SolidBrush(
ColorTable
.GripDark)) {
509
Color borderColor =
ColorTable
.MenuItemBorder;
516
using (Brush b = new SolidBrush(
ColorTable
.MenuItemSelected)) {
549
Color borderColor =
ColorTable
.MenuItemBorder;
558
using (Brush b = new LinearGradientBrush(bounds,
ColorTable
.MenuItemSelectedGradientBegin,
ColorTable
.MenuItemSelectedGradientEnd, LinearGradientMode.Vertical)) {
615
Color begin = (rightToLeft == RightToLeft.No) ?
ColorTable
.ImageMarginGradientBegin :
ColorTable
.ImageMarginGradientEnd;
616
Color end = (rightToLeft == RightToLeft.No) ?
ColorTable
.ImageMarginGradientEnd :
ColorTable
.ImageMarginGradientBegin;
618
FillWithDoubleGradient(begin,
ColorTable
.ImageMarginGradientMiddle, end, e.Graphics, bounds, iconWellGradientWidth, iconWellGradientWidth, LinearGradientMode.Horizontal, /*flipHorizontal=*/(e.ToolStrip.RightToLeft == RightToLeft.Yes));
695
RenderBackgroundGradient(e.Graphics, toolStripPanel,
ColorTable
.ToolStripPanelGradientBegin,
ColorTable
.ToolStripPanelGradientEnd);
717
e.Graphics.Clear(
ColorTable
.ToolStripContentPanelGradientEnd);
801
overflowBottomLeftShadow =
ColorTable
.ButtonPressedGradientBegin;
805
overflowBottomLeftShadow =
ColorTable
.ButtonSelectedGradientMiddle;
809
overflowBottomLeftShadow =
ColorTable
.ToolStripBorder;
810
overflowTopShadow =
ColorTable
.ToolStripGradientMiddle;
903
RenderBackgroundGradient(e.Graphics, statusStrip,
ColorTable
.StatusStripGradientBegin,
ColorTable
.StatusStripGradientEnd, statusStrip.Orientation);
914
Color fill = (e.Item.Selected) ?
ColorTable
.CheckSelectedBackground :
ColorTable
.CheckBackground;
915
fill = (e.Item.Pressed) ?
ColorTable
.CheckPressedBackground : fill;
920
using (Pen p = new Pen(
ColorTable
.ButtonSelectedBorder)) {
941
using (Brush b = new LinearGradientBrush(bounds,
ColorTable
.MenuItemPressedGradientBegin,
ColorTable
.MenuItemPressedGradientEnd, LinearGradientMode.Vertical)) {
946
using (Pen p = new Pen(
ColorTable
.MenuBorder)) {
952
RenderBackgroundGradient(e.Graphics, e.ToolStrip,
ColorTable
.MenuStripGradientBegin,
ColorTable
.MenuStripGradientEnd, e.ToolStrip.Orientation);
1018
FillWithDoubleGradient(
ColorTable
.ToolStripGradientBegin,
ColorTable
.ToolStripGradientMiddle,
ColorTable
.ToolStripGradientEnd, e.Graphics, bounds, iconWellGradientWidth, iconWellGradientWidth, mode, /*flipHorizontal=*/false);
1026
using (Brush b = new SolidBrush(
ColorTable
.ToolStripDropDownBackground)) {
1038
using (Pen p = new Pen(
ColorTable
.MenuBorder)) {
1044
using (Brush b = new SolidBrush(
ColorTable
.ToolStripDropDownBackground)) {
1078
overflowButtonGradientBegin =
ColorTable
.ButtonPressedGradientBegin;
1079
overflowButtonGradientMiddle =
ColorTable
.ButtonPressedGradientMiddle;
1080
overflowButtonGradientEnd =
ColorTable
.ButtonPressedGradientEnd;
1081
overflowBottomLeftShadow =
ColorTable
.ButtonPressedGradientBegin;
1085
overflowButtonGradientBegin =
ColorTable
.ButtonSelectedGradientBegin;
1086
overflowButtonGradientMiddle =
ColorTable
.ButtonSelectedGradientMiddle;
1087
overflowButtonGradientEnd =
ColorTable
.ButtonSelectedGradientEnd;
1088
overflowBottomLeftShadow =
ColorTable
.ButtonSelectedGradientMiddle;
1092
overflowButtonGradientBegin =
ColorTable
.OverflowButtonGradientBegin;
1093
overflowButtonGradientMiddle =
ColorTable
.OverflowButtonGradientMiddle;
1094
overflowButtonGradientEnd =
ColorTable
.OverflowButtonGradientEnd;
1095
overflowBottomLeftShadow =
ColorTable
.ToolStripBorder;
1096
overflowTopShadow = (horizontal) ?
ColorTable
.ToolStripGradientMiddle :
ColorTable
.ToolStripGradientEnd;
1170
using (Brush b = new SolidBrush(
ColorTable
.ToolStripGradientMiddle)) {
1201
using (Brush b = new SolidBrush(
ColorTable
.ToolStripGradientEnd)) {
1224
using (Brush b = new LinearGradientBrush(bounds,
ColorTable
.ButtonSelectedGradientBegin,
ColorTable
.ButtonSelectedGradientEnd, LinearGradientMode.Vertical)) {
1229
Color fillColor =
ColorTable
.ButtonSelectedHighlight;
1241
using (Brush b = new LinearGradientBrush(bounds,
ColorTable
.ButtonCheckedGradientBegin,
ColorTable
.ButtonCheckedGradientEnd, LinearGradientMode.Vertical)) {
1247
Color fillColor =
ColorTable
.ButtonCheckedHighlight;
1257
Color foreColor =
ColorTable
.SeparatorDark;
1258
Color highlightColor =
ColorTable
.SeparatorLight;
1355
using (Brush b = new LinearGradientBrush(bounds,
ColorTable
.ButtonPressedGradientBegin,
ColorTable
.ButtonPressedGradientEnd, LinearGradientMode.Vertical)) {
1361
Color fillColor =
ColorTable
.ButtonPressedHighlight;
1395
using (Pen p = new Pen(
ColorTable
.ButtonSelectedBorder)) {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
671
return renderer.
ColorTable
;