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