1 write to SwitchHeight
System.Windows.Forms (1)
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (1)
562SwitchHeight = switchHeight;
4 references to SwitchHeight
System.Windows.Forms (4)
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (4)
171int totalHeight = Math.Max(textSize.Height, metrics.SwitchHeight); 173int switchY = contentTop + ((totalHeight - metrics.SwitchHeight) / 2); 182return new Rectangle(switchX, switchY, metrics.SwitchWidth, metrics.SwitchHeight); 624Math.Max(SwitchHeight, textSize.Height) + control.Padding.Vertical);