103 references to new
PresentationUI (47)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (25)
154
this._summaryTab.Padding = new System.Windows.Forms.
Padding
(12);
230
this._titleLabel.Margin = new System.Windows.Forms.
Padding
(3);
247
this._versionLabel.Margin = new System.Windows.Forms.
Padding
(3);
255
this._authorLabel.Margin = new System.Windows.Forms.
Padding
(3);
263
this._statusLabel.Margin = new System.Windows.Forms.
Padding
(3);
271
this._contentLabel.Margin = new System.Windows.Forms.
Padding
(3);
279
this._languageLabel.Margin = new System.Windows.Forms.
Padding
(3);
287
this._subjectLabel.Margin = new System.Windows.Forms.
Padding
(3);
304
this._categoryLabel.Margin = new System.Windows.Forms.
Padding
(3);
339
this._keywordsLabel.Margin = new System.Windows.Forms.
Padding
(3);
389
this._identifierLabel.Margin = new System.Windows.Forms.
Padding
(3);
398
this._descriptionLabel.Margin = new System.Windows.Forms.
Padding
(3);
404
this._subjectLine.Margin = new System.Windows.Forms.
Padding
(3);
410
this._categoryLine.Margin = new System.Windows.Forms.
Padding
(3);
416
this._contentLine.Margin = new System.Windows.Forms.
Padding
(3);
513
this._sizeLabel.Margin = new System.Windows.Forms.
Padding
(3);
597
this._documentPrintedLabel.Margin = new System.Windows.Forms.
Padding
(3);
605
this._documentModifiedLabel.Margin = new System.Windows.Forms.
Padding
(3);
613
this._documentCreatedLabel.Margin = new System.Windows.Forms.
Padding
(3);
621
this._revisionLabel.Margin = new System.Windows.Forms.
Padding
(3);
629
this._lastSavedLabel.Margin = new System.Windows.Forms.
Padding
(3);
695
this._fileCreatedLabel.Margin = new System.Windows.Forms.
Padding
(3);
703
this._fileModifiedLabel.Margin = new System.Windows.Forms.
Padding
(3);
720
this._fileAccessedLabel.Margin = new System.Windows.Forms.
Padding
(3);
737
this.Padding = new System.Windows.Forms.
Padding
(3);
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (2)
107
_userInputTableLayoutPanel.Margin = new System.Windows.Forms.
Padding
(0);
205
_mainDialogTableLayoutPanel.Margin = new System.Windows.Forms.
Padding
(10);
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (2)
189
_nextButton.Margin = new System.Windows.Forms.
Padding
(10);
198
_cancelButton.Margin = new System.Windows.Forms.
Padding
(10);
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (4)
76
this._nextButton.Margin = new System.Windows.Forms.
Padding
(10);
85
this._cancelButton.Margin = new System.Windows.Forms.
Padding
(10);
129
this._pictureBox1.Margin = new System.Windows.Forms.
Padding
(5);
139
this._label2.Margin = new System.Windows.Forms.
Padding
(5);
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (3)
77
this.label2.Margin = new System.Windows.Forms.
Padding
(7);
103
this.label3.Margin = new System.Windows.Forms.
Padding
(5);
112
this.progressBar1.Margin = new System.Windows.Forms.
Padding
(5);
MS\Internal\Documents\RMPermissions.Designer.cs (1)
68
this.mainContentFlowPanel.Padding = new System.Windows.Forms.
Padding
(5);
MS\Internal\Documents\RMPublishingDialog.Designer.cs (4)
86
this.flowLayoutPanelMain.Padding = new System.Windows.Forms.
Padding
(8);
122
this.groupBoxMainContent.Margin = new System.Windows.Forms.
Padding
(5);
164
this.textBoxUnrestrictedText.Padding = new System.Windows.Forms.
Padding
(3);
173
this.labelSelectTemplate.Padding = new System.Windows.Forms.
Padding
(3);
MS\Internal\Documents\SignatureSummaryDialog.cs (2)
225
Padding columnMargin = new
Padding
(0);
811
private Padding _cellPadding = new
Padding
(10);
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (2)
92
_flowpanelBottomControls.Margin = new System.Windows.Forms.
Padding
(0);
192
_mainLayoutTable.Margin = new System.Windows.Forms.
Padding
(5);
MS\Internal\Documents\SigningDialog.Designer.cs (1)
244
_mainLayoutTable.Margin = new System.Windows.Forms.
Padding
(5);
MS\Internal\Documents\SigningProgress.Designer.cs (1)
43
_label.Margin = new System.Windows.Forms.
Padding
(10);
System.Windows.Forms (16)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\FlatButtonDarkModeRenderer.cs (1)
23
private protected override Padding PaddingCore { get; } =
new
(0);
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (1)
23
private protected override Padding PaddingCore { get; } =
new
(0);
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\SystemButtonDarkModeRenderer.cs (1)
28
private protected override Padding PaddingCore { get; } = new
Padding
(SystemStylePadding);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
135
protected override Padding DefaultPadding =>
new
(3);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
320
protected override Padding DefaultMargin =>
new
(9);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
65
private static readonly Padding s_logicalDefaultGripMargin =
new
(2);
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
22
private static readonly Padding s_dropDownPadding =
new
(2);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.ToolStripDropDownButtonInternalLayout.cs (1)
26
_dropDownArrowPadding =
new
(ScaleHelper.ScaleToDpi(LogicalDropDownArrowPadding, dpi));
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
611
_imagePadding =
new
(ScaleHelper.ScaleToDpi(LogicalImagePadding, dpi));
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (1)
245
_defaultPadding =
new
(ScaleHelper.ScaleToDpi(LogicalDefaultPadding, dpi));
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
31
internal static readonly Padding s_dragMargin =
new
(10);
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
37
_defaultDropDownMargin =
new
(defaultMargin);
System\Windows\Forms\Layout\CommonProperties.cs (3)
31
internal static Padding DefaultMargin { get; } =
new
(3);
250
Debug.Assert(value != GetPadding(element, new
Padding
(-7105)),
256
Debug.Assert(GetPadding(element, new
Padding
(-7105)) == value, "Error detected setting Padding.");
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdgesConverter.cs (1)
88
_owner.Padding = new
Padding
(value);
System.Windows.Forms.Design (38)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (2)
207
_groupBoxMode.Padding = new
Padding
(0);
221
_radioButtonsTableLayoutPanel.Margin = new
Padding
(9);
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
61
panel?.Padding = new
Padding
(0);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
93
_relatedControl.Padding = new
Padding
(0);
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (1)
111
_tableLayoutPanel.Margin = new
Padding
(0);
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (14)
289
_dataBoundColumnRadioButton.Margin = new
Padding
(0);
336
_checkBoxesTableLayoutPanel.Margin = new
Padding
(0);
344
_frozenCheckBox.Margin = new
Padding
(0);
352
_visibleCheckBox.Margin = new
Padding
(0);
358
_readOnlyCheckBox.Margin = new
Padding
(0);
390
_columnInDataSourceLabel.Margin = new
Padding
(0);
398
_dataColumns.Margin = new
Padding
(0);
407
_unboundColumnRadioButton.Margin = new
Padding
(0);
414
_nameLabel.Margin = new
Padding
(0);
420
_nameTextBox.Margin = new
Padding
(0);
427
_typeLabel.Margin = new
Padding
(0);
435
_columnTypesCombo.Margin = new
Padding
(0);
442
_headerTextLabel.Margin = new
Padding
(0);
448
_headerTextBox.Margin = new
Padding
(0);
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (4)
174
_normalLabel.Margin = new
Padding
(0);
180
_sampleDataGridView.Margin = new
Padding
(0);
187
_selectedLabel.Margin = new
Padding
(0);
193
_sampleDataGridViewSelected.Margin = new
Padding
(0);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (2)
563
_selectedColumnsLabel.Margin = new
Padding
(0);
621
Padding = new
Padding
(12);
System\Windows\Forms\Design\FormatStringDialog.cs (2)
175
_formatControl1.Margin = new
Padding
(0);
217
Padding = new
Padding
(0);
System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDown.cs (1)
51
Padding = new
Padding
(16);
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
218
Padding = new
Padding
(4);
System\Windows\Forms\Design\StyleEditorForm.cs (2)
376
_sizeTypeGroupBox.Padding = new
Padding
(0);
392
_sizeTypeTableLayoutPanel.Margin = new
Padding
(9);
System\Windows\Forms\Design\TabControlDesigner.cs (1)
254
page.Padding = new
Padding
(3);
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
313
Padding =
new
(9);
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
20
private static Padding s_defaultPadding =
new
(0);
366
Control.Padding = new
Padding
(0);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (3)
852
_centerTextBox.Margin = new
Padding
(1);
1326
Margin = new
Padding
(1)
1354
Margin = new
Padding
(1)
System.Windows.Forms.Primitives (2)
System\Windows\Forms\Padding.cs (1)
21
public static readonly Padding Empty =
new
(0);
System\Windows\Forms\PaddingConverter.cs (1)
89
return new
Padding
(all);