8 writes to PaddingSize
System.Windows.Forms (8)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (2)
570
PaddingSize
= 0,
597
PaddingSize
= 0,
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (2)
310
layout.
PaddingSize
= check ? 1 : 2;
322
layout.
PaddingSize
= check ? 1 : 2;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (2)
162
layout.
PaddingSize
= 2 - paintedBorder;
178
layout.
PaddingSize
= 2 - paintedBorder; // 3 - paintedBorder - (Control.IsDefault ? 1 : 0);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckableControlBaseAdapter.cs (1)
65
layout.
PaddingSize
= 0;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (1)
106
layoutOptions.
PaddingSize
= 0;
6 references to PaddingSize
System.Windows.Forms (6)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (4)
190
int linearBorderAndPadding = BorderSize * 2 +
PaddingSize
* 2;
363
Rectangle field = Rectangle.Inflate(layout.Face, -
PaddingSize
, -
PaddingSize
);
691
paddingSize = {{
PaddingSize
}}
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (2)
168
layout.BorderSize + layout.
PaddingSize
== 2,
184
layout.BorderSize + layout.
PaddingSize
== 2,