9 writes to Padding
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
200_keyComboBox.Padding = _keyComboBox.Margin;
System.Windows.Forms.Tests (8)
System\Windows\Forms\ComboBoxTests.cs (8)
1182Padding = value 1188control.Padding = value; 1206control.Padding = value; 1214control.Padding = value; 1237control.Padding = padding1; 1242control.Padding = padding1; 1248control.Padding = padding2; 1254control.Padding = padding1;
11 references to Padding
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
775_prefHeightCache = (short)(textSize.Height + SystemInformation.BorderSize.Height * 8 + Padding.Size.Height); 792_prefHeightCache = (short)(textSize.Height * itemCount + SystemInformation.BorderSize.Height * 16 + Padding.Size.Height);
System.Windows.Forms.Tests (9)
System\Windows\Forms\ComboBoxTests.cs (9)
104Assert.Equal(Padding.Empty, control.Padding); 1184Assert.Equal(expected, control.Padding); 1189Assert.Equal(expected, control.Padding); 1207Assert.Equal(expected, control.Padding); 1215Assert.Equal(expected, control.Padding); 1238Assert.Equal(padding1, control.Padding); 1243Assert.Equal(padding1, control.Padding); 1249Assert.Equal(padding2, control.Padding); 1255Assert.Equal(padding1, control.Padding);