2 writes to _iconWellGradientWidth
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (2)
1613
_iconWellGradientWidth
= ScaleHelper.ScaleToDpi(ICON_WELL_GRADIENT_WIDTH, currentDeviceDpi);
1636
_iconWellGradientWidth
= ScaleHelper.ScaleToInitialSystemDpi(ICON_WELL_GRADIENT_WIDTH);
8 references to _iconWellGradientWidth
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (8)
465
FillWithDoubleGradient(ColorTable.OverflowButtonGradientBegin, ColorTable.OverflowButtonGradientMiddle, ColorTable.OverflowButtonGradientEnd, e.Graphics, edging,
_iconWellGradientWidth
,
_iconWellGradientWidth
, LinearGradientMode.Vertical, /*flipHorizontal=*/false);
704
FillWithDoubleGradient(begin, ColorTable.ImageMarginGradientMiddle, end, e.Graphics, bounds,
_iconWellGradientWidth
,
_iconWellGradientWidth
, LinearGradientMode.Horizontal, /*flipHorizontal=*/(e.ToolStrip.RightToLeft == RightToLeft.Yes));
1178
FillWithDoubleGradient(ColorTable.ToolStripGradientBegin, ColorTable.ToolStripGradientMiddle, ColorTable.ToolStripGradientEnd, e.Graphics, bounds,
_iconWellGradientWidth
,
_iconWellGradientWidth
, mode, /*flipHorizontal=*/false);
1284
FillWithDoubleGradient(overflowButtonGradientBegin, overflowButtonGradientMiddle, overflowButtonGradientEnd, g, overflowBoundsFill,
_iconWellGradientWidth
,
_iconWellGradientWidth
, mode, false);