84 references to Padding
System.Windows.Forms (75)
winforms\Managed\System\WinForms\Label.cs (1)
388
return new
Padding
(3, 0, 3, 0);
winforms\Managed\System\WinForms\MDIWindowDialog.cs (2)
116
this.okButton.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 0);
123
this.cancelButton.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 0);
winforms\Managed\System\WinForms\MenuStrip.cs (6)
81
DpiHelper.LogicalToDeviceUnits(new
Padding
(2, 2, 0, 2), DeviceDpi) :
82
new
Padding
(2, 2, 0, 2);
101
DpiHelper.LogicalToDeviceUnits(new
Padding
(3, 2, 0, 2), DeviceDpi) :
102
new
Padding
(3, 2, 0, 2);
105
DpiHelper.LogicalToDeviceUnits(new
Padding
(6, 2, 0, 2), DeviceDpi) :
106
new
Padding
(6, 2, 0, 2);
winforms\Managed\System\WinForms\Padding.cs (4)
183
return new
Padding
(p1.Left + p2.Left, p1.Top + p2.Top, p1.Right + p2.Right, p1.Bottom + p2.Bottom );
195
return new
Padding
(p1.Left - p2.Left, p1.Top - p2.Top, p1.Right - p2.Right, p1.Bottom - p2.Bottom );
328
return new
Padding
(values[0], values[1], values[2], values[3]);
400
return new
Padding
(
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (3)
173
this.lblMessage.Margin = new System.Windows.Forms.
Padding
(3, 30, 3, 0);
192
this.detailsBtn.Margin = new System.Windows.Forms.
Padding
(12, 3, 29, 3);
251
this.cancelBtn.Margin = new System.Windows.Forms.
Padding
(0, 3, 3, 3);
winforms\Managed\System\WinForms\SplitterPanel.cs (1)
234
return new
Padding
(0, 0, 0, 0);
winforms\Managed\System\WinForms\StatusStrip.cs (3)
91
return new
Padding
(1, 0, 14, 0);
94
return new
Padding
(14, 0, 1, 0);
101
return new
Padding
(1, 3, 1, DefaultSize.Height);
winforms\Managed\System\WinForms\ToolStrip.cs (1)
100
private static readonly Padding defaultPadding = new
Padding
(0, 0, 1, 0);
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
39
private static readonly Padding padding = new
Padding
(1, 0, 1, 0);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
60
private static readonly Padding defaultPadding = new
Padding
(1, 2, 1, 2);
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (6)
27
private static readonly Padding TextPadding = new
Padding
(8,1,9,1);
28
private static readonly Padding CheckPadding = new
Padding
(5,2,2,2);
29
private static readonly Padding ArrowPadding = new
Padding
(0,0,8,0);
127
return new
Padding
(1,2,padding,2);
129
return new
Padding
(padding,2,1,2);
142
rect = LayoutUtils.InflateRect(rect, new
Padding
(0, this.Padding.Top, 0, this.Padding.Bottom));
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
69
private static readonly Padding defaultMargin = new
Padding
(0, 1, 0, 2);
70
private static readonly Padding defaultStatusStripMargin = new
Padding
(0, 2, 0, 0);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
61
private static readonly Padding defaultPadding = new
Padding
(4, 0, 4, 0);
62
private static readonly Padding defaultDropDownPadding = new
Padding
(0, 1, 0, 1);
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
34
private static readonly Padding rowMargin = new
Padding
(3,0,0,0);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (5)
40
private Padding scaledDropDownMenuItemPaintPadding = new
Padding
(DROP_DOWN_MENU_ITEM_PAINT_PADDING_SIZE + 1, 0, DROP_DOWN_MENU_ITEM_PAINT_PADDING_SIZE, 0);
265
Padding deflatePadding = item.RightToLeft == RightToLeft.Yes ? new
Padding
(0, 1, 1, 1) : new
Padding
(1, 1, 0, 1);
1413
scaledDropDownMenuItemPaintPadding = new
Padding
(scaledSize + 1, 0, scaledSize, 0);
1433
scaledDropDownMenuItemPaintPadding = new
Padding
(scaledSize + 1, 0, scaledSize, 0);
winforms\Managed\System\WinForms\ToolStripProgressBar.cs (2)
22
private static readonly Padding defaultMargin = new
Padding
(1, 2, 1, 1);
23
private static readonly Padding defaultStatusStripMargin = new
Padding
(1, 3, 1, 3);
winforms\Managed\System\WinForms\ToolStripStatusLabel.cs (1)
30
private static readonly Padding defaultMargin = new
Padding
(0, 3, 0, 2);
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
33
private static readonly Padding defaultMargin = new
Padding
(1, 0, 1, 0);
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (14)
243
this.pictureBoxPublisher.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 0);
251
this.pictureBoxMachineAccess.Margin = new System.Windows.Forms.
Padding
(0, 10, 3, 0);
259
this.pictureBoxInstallation.Margin = new System.Windows.Forms.
Padding
(0, 10, 3, 0);
267
this.pictureBoxLocation.Margin = new System.Windows.Forms.
Padding
(0, 10, 3, 0);
275
this.lblPublisher.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 0);
281
this.lblPublisherContent.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 10);
287
this.lblMachineAccess.Margin = new System.Windows.Forms.
Padding
(3, 10, 0, 0);
293
this.lblMachineAccessContent.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 10);
299
this.lblInstallation.Margin = new System.Windows.Forms.
Padding
(3, 10, 0, 0);
305
this.lblInstallationContent.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 10);
311
this.lblLocation.Margin = new System.Windows.Forms.
Padding
(3, 10, 0, 0);
317
this.lblLocationContent.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 10);
325
this.btnClose.Margin = new System.Windows.Forms.
Padding
(0, 10, 0, 0);
328
this.btnClose.Padding = new System.Windows.Forms.
Padding
(10, 0, 10, 0);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (17)
193
this.tableLayoutPanelOuter.Margin = new System.Windows.Forms.
Padding
(0, 0, 0, 12);
209
this.warningTextTableLayoutPanel.Margin = new System.Windows.Forms.
Padding
(12, 6, 0, 0);
216
this.pictureBoxWarning.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 0);
223
this.linkLblMoreInformation.Margin = new System.Windows.Forms.
Padding
(3, 0, 3, 0);
242
this.lblQuestion.Margin = new System.Windows.Forms.
Padding
(12, 12, 12, 0);
259
this.tableLayoutPanelButtons.Margin = new System.Windows.Forms.
Padding
(0, 6, 12, 12);
267
this.btnInstall.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 0);
270
this.btnInstall.Padding = new System.Windows.Forms.
Padding
(10, 0, 10, 0);
277
this.btnCancel.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 0);
280
this.btnCancel.Padding = new System.Windows.Forms.
Padding
(10, 0, 10, 0);
293
this.tableLayoutPanelInfo.Margin = new System.Windows.Forms.
Padding
(30, 22, 12, 3);
305
this.lblName.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 0);
311
this.lblFrom.Margin = new System.Windows.Forms.
Padding
(0, 8, 3, 0);
317
this.lblPublisher.Margin = new System.Windows.Forms.
Padding
(0, 8, 3, 0);
324
this.linkLblName.Margin = new System.Windows.Forms.
Padding
(3, 0, 3, 8);
334
this.linkLblFromUrl.Margin = new System.Windows.Forms.
Padding
(3, 0, 3, 8);
345
this.linkLblPublisher.Margin = new System.Windows.Forms.
Padding
(3, 0, 3, 0);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
837
return new
Padding
(margins.cxLeftWidth, margins.cyTopHeight, margins.cxRightWidth, margins.cyBottomHeight);
System.Workflow.ComponentModel (8)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (8)
162
this.themeNameLabel.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 3);
168
this.themeLocationLabel.Margin = new System.Windows.Forms.
Padding
(0, 3, 3, 0);
175
this.themeNameTextBox.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 3);
196
this.themeLocationButton.Margin = new System.Windows.Forms.
Padding
(3, 3, 0, 0);
202
this.themeLocationTextBox.Margin = new System.Windows.Forms.
Padding
(3, 3, 3, 0);
214
this.okButton.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 0);
221
this.cancelButton.Margin = new System.Windows.Forms.
Padding
(3, 0, 3, 0);
266
this.previewButton.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 0);
System.WorkflowServices (1)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (1)
68
this.toolStripLabel1.Padding = new System.Windows.Forms.
Padding
(15, 0, 0, 0);