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)
1182
Padding
= value
1188
control.
Padding
= value;
1206
control.
Padding
= value;
1214
control.
Padding
= value;
1237
control.
Padding
= padding1;
1242
control.
Padding
= padding1;
1248
control.
Padding
= padding2;
1254
control.
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)
104
Assert.Equal(Padding.Empty, control.
Padding
);
1184
Assert.Equal(expected, control.
Padding
);
1189
Assert.Equal(expected, control.
Padding
);
1207
Assert.Equal(expected, control.
Padding
);
1215
Assert.Equal(expected, control.
Padding
);
1238
Assert.Equal(padding1, control.
Padding
);
1243
Assert.Equal(padding1, control.
Padding
);
1249
Assert.Equal(padding2, control.
Padding
);
1255
Assert.Equal(padding1, control.
Padding
);