103 references to new
PresentationUI (47)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (25)
154this._summaryTab.Padding = new System.Windows.Forms.Padding(12); 230this._titleLabel.Margin = new System.Windows.Forms.Padding(3); 247this._versionLabel.Margin = new System.Windows.Forms.Padding(3); 255this._authorLabel.Margin = new System.Windows.Forms.Padding(3); 263this._statusLabel.Margin = new System.Windows.Forms.Padding(3); 271this._contentLabel.Margin = new System.Windows.Forms.Padding(3); 279this._languageLabel.Margin = new System.Windows.Forms.Padding(3); 287this._subjectLabel.Margin = new System.Windows.Forms.Padding(3); 304this._categoryLabel.Margin = new System.Windows.Forms.Padding(3); 339this._keywordsLabel.Margin = new System.Windows.Forms.Padding(3); 389this._identifierLabel.Margin = new System.Windows.Forms.Padding(3); 398this._descriptionLabel.Margin = new System.Windows.Forms.Padding(3); 404this._subjectLine.Margin = new System.Windows.Forms.Padding(3); 410this._categoryLine.Margin = new System.Windows.Forms.Padding(3); 416this._contentLine.Margin = new System.Windows.Forms.Padding(3); 513this._sizeLabel.Margin = new System.Windows.Forms.Padding(3); 597this._documentPrintedLabel.Margin = new System.Windows.Forms.Padding(3); 605this._documentModifiedLabel.Margin = new System.Windows.Forms.Padding(3); 613this._documentCreatedLabel.Margin = new System.Windows.Forms.Padding(3); 621this._revisionLabel.Margin = new System.Windows.Forms.Padding(3); 629this._lastSavedLabel.Margin = new System.Windows.Forms.Padding(3); 695this._fileCreatedLabel.Margin = new System.Windows.Forms.Padding(3); 703this._fileModifiedLabel.Margin = new System.Windows.Forms.Padding(3); 720this._fileAccessedLabel.Margin = new System.Windows.Forms.Padding(3); 737this.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)
76this._nextButton.Margin = new System.Windows.Forms.Padding(10); 85this._cancelButton.Margin = new System.Windows.Forms.Padding(10); 129this._pictureBox1.Margin = new System.Windows.Forms.Padding(5); 139this._label2.Margin = new System.Windows.Forms.Padding(5);
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (3)
77this.label2.Margin = new System.Windows.Forms.Padding(7); 103this.label3.Margin = new System.Windows.Forms.Padding(5); 112this.progressBar1.Margin = new System.Windows.Forms.Padding(5);
MS\Internal\Documents\RMPermissions.Designer.cs (1)
68this.mainContentFlowPanel.Padding = new System.Windows.Forms.Padding(5);
MS\Internal\Documents\RMPublishingDialog.Designer.cs (4)
86this.flowLayoutPanelMain.Padding = new System.Windows.Forms.Padding(8); 122this.groupBoxMainContent.Margin = new System.Windows.Forms.Padding(5); 164this.textBoxUnrestrictedText.Padding = new System.Windows.Forms.Padding(3); 173this.labelSelectTemplate.Padding = new System.Windows.Forms.Padding(3);
MS\Internal\Documents\SignatureSummaryDialog.cs (2)
225Padding columnMargin = new Padding(0); 811private 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)
23private protected override Padding PaddingCore { get; } = new(0);
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (1)
23private protected override Padding PaddingCore { get; } = new(0);
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\SystemButtonDarkModeRenderer.cs (1)
28private protected override Padding PaddingCore { get; } = new Padding(SystemStylePadding);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
135protected override Padding DefaultPadding => new(3);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
320protected override Padding DefaultMargin => new(9);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
65private static readonly Padding s_logicalDefaultGripMargin = new(2);
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
22private 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)
31internal 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)
31internal static Padding DefaultMargin { get; } = new(3); 250Debug.Assert(value != GetPadding(element, new Padding(-7105)), 256Debug.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)
61panel?.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); 621Padding = new Padding(12);
System\Windows\Forms\Design\FormatStringDialog.cs (2)
175_formatControl1.Margin = new Padding(0); 217Padding = new Padding(0);
System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDown.cs (1)
51Padding = new Padding(16);
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
218Padding = 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)
254page.Padding = new Padding(3);
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
313Padding = new(9);
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
20private static Padding s_defaultPadding = new(0); 366Control.Padding = new Padding(0);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (3)
852_centerTextBox.Margin = new Padding(1); 1326Margin = new Padding(1) 1354Margin = new Padding(1)
System.Windows.Forms.Primitives (2)
System\Windows\Forms\Padding.cs (1)
21public static readonly Padding Empty = new(0);
System\Windows\Forms\PaddingConverter.cs (1)
89return new Padding(all);