1 write to TextGap
System.Windows.Forms (1)
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (1)
385TextGap = textGap;
3 references to TextGap
System.Windows.Forms (3)
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (3)
100int textX = Math.Max(contentBounds.Left, switchBounds.Left - metrics.TextGap - textSize.Width); 107RenderText(graphics, new Point(contentBounds.Left + metrics.SwitchWidth + metrics.TextGap, textY)); 441SwitchWidth + TextGap + textSize.Width + control.Padding.Horizontal,