2 writes to iconWellGradientWidth
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (2)
1411
iconWellGradientWidth
= DpiHelper.LogicalToDeviceUnits(ICON_WELL_GRADIENT_WIDTH, currentDeviceDpi);
1431
iconWellGradientWidth
= DpiHelper.LogicalToDeviceUnitsX(ICON_WELL_GRADIENT_WIDTH);
8 references to iconWellGradientWidth
System.Windows.Forms (8)
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (8)
415
FillWithDoubleGradient(ColorTable.OverflowButtonGradientBegin, ColorTable.OverflowButtonGradientMiddle, ColorTable.OverflowButtonGradientEnd, e.Graphics, edging,
iconWellGradientWidth
,
iconWellGradientWidth
, LinearGradientMode.Vertical, /*flipHorizontal=*/false);
618
FillWithDoubleGradient(begin, ColorTable.ImageMarginGradientMiddle, end, e.Graphics, bounds,
iconWellGradientWidth
,
iconWellGradientWidth
, LinearGradientMode.Horizontal, /*flipHorizontal=*/(e.ToolStrip.RightToLeft == RightToLeft.Yes));
1018
FillWithDoubleGradient(ColorTable.ToolStripGradientBegin, ColorTable.ToolStripGradientMiddle, ColorTable.ToolStripGradientEnd, e.Graphics, bounds,
iconWellGradientWidth
,
iconWellGradientWidth
, mode, /*flipHorizontal=*/false);
1115
FillWithDoubleGradient(overflowButtonGradientBegin, overflowButtonGradientMiddle, overflowButtonGradientEnd, g, overflowBoundsFill,
iconWellGradientWidth
,
iconWellGradientWidth
, mode, false);