1 write to SwitchHeight
System.Windows.Forms (1)
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (1)
381SwitchHeight = switchHeight;
5 references to SwitchHeight
System.Windows.Forms (5)
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (5)
82int totalHeight = Math.Max(textSize.Height, metrics.SwitchHeight); 165int totalHeight = Math.Max(textSize.Height, metrics.SwitchHeight); 167int switchY = contentTop + ((totalHeight - metrics.SwitchHeight) / 2); 172return new Rectangle(switchX, switchY, metrics.SwitchWidth, metrics.SwitchHeight); 442Math.Max(SwitchHeight, textSize.Height) + control.Padding.Vertical);