1 write to SwitchWidth
System.Windows.Forms (1)
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (1)
561
SwitchWidth
= switchWidth;
3 references to SwitchWidth
System.Windows.Forms (3)
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (3)
175
int maximumSwitchX = Math.Max(minimumSwitchX, contentBounds.Right - metrics.
SwitchWidth
);
182
return new Rectangle(switchX, switchY, metrics.
SwitchWidth
, metrics.SwitchHeight);
623
SwitchWidth
+ TextGap + textSize.Width + control.Padding.Horizontal,