473 writes to Margin
Accessibility_Core_App (172)
CommonControl1.Designer.cs (48)
106this.groupBox1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 118this.button12.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 129this.button1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 141this.button10.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 151this.button9.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 162this.button8.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 173this.button3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 185this.button4.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 197this.button5.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 208this.button2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 219this.button6.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 234this.groupBox2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 250this.checkedListBox1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 259this.label7.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 269this.checkBox3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 281this.checkBox2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 294this.checkBox1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 308this.groupBox3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 327this.comboBox2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 336this.label11.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 352this.comboBox1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 361this.label10.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 372this.groupBox4.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 388this.listView1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 398this.label8.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 419this.groupBox5.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 432this.linkLabel6.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 444this.linkLabel5.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 456this.linkLabel4.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 468this.linkLabel3.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 480this.label6.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 491this.label5.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 502this.label4.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 513this.label3.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 522this.linkLabel2.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 533this.linkLabel1.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 543this.label2.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 553this.label1.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 564this.groupBox6.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 582this.listBox1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 591this.label12.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 602this.groupBox7.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 613this.maskedTextBox1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 622this.label9.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); 634this.groupBox8.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 646this.dateTimePicker3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 656this.dateTimePicker2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); 671this.dateTimePicker1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
CommonControl2.Designer.cs (17)
70this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 80this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 91this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 101this.progressBar1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 112this.radioButton1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 124this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 134this.richTextBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 144this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 158this.textBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 167this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 176this.treeView1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 204this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 213this.webBrowser1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 225this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 234this.monthCalendar1.Margin = new System.Windows.Forms.Padding(10); 242this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 251this.numericUpDown1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
ContainerControls.Designer.cs (53)
129this.flowLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 137this.button2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 147this.button5.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 157this.button6.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 168this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 178this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 188this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 198this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 209this.button7.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 221this.groupBox2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 232this.button8.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 244this.groupBox3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 255this.button9.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 267this.groupBox4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 278this.button10.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 289this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 299this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 411this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 422this.tabControl5.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 432this.tabPage9.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 443this.button19.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 454this.tabPage10.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 468this.tabControl6.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 478this.tabPage11.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 489this.button20.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 500this.tabPage12.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 511this.button21.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 527this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 535this.button4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 545this.button1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 555this.button3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 566this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 577this.panel2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 587this.tabControl2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 596this.tabPage1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 608this.tabPage2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 619this.button12.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 630this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 642this.panel1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 652this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 662this.tabPage3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 673this.button11.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 684this.tabPage4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 695this.button13.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 710this.flowLayoutPanel3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 718this.button14.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 728this.button22.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 738this.button23.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 749this.panel3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 759this.tabControl3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 768this.tabPage5.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 780this.tabPage6.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 791this.button24.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
ContainerControls2.Designer.cs (20)
76this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 85this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 108this.button15.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 118this.button16.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 129this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 145this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 262this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 272this.flowLayoutPanel4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 281this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 292this.groupBox5.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 304this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 314this.panel4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 323this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 332this.splitContainer2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 351this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 362this.tabControl4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 372this.tabPage7.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 383this.tabPage8.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 394this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 407this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
DataControls.Designer.cs (2)
277this.dataGridView1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 341this.dataGridView2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
DialogControls.Designer.cs (4)
39this.ColorDialog.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 50this.FolderBrowserDialog.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 61this.OpenFileDialog.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 72this.SaveFileDialog.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
Main.Designer.cs (9)
48this.button1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 59this.button2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 70this.button3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 81this.button4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 92this.button5.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 103this.button6.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 114this.button7.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 125this.button8.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 136this.button9.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
MenuForm.Designer.cs (2)
38this.button1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 49this.button2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
PrintingControls.Designer.cs (8)
74this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 83this.txtPrint.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 92this.btnSetting.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 103this.btnPreView.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 114this.btnPrint.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 125this.button1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 137this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 149this.printPreviewControl1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
RemainingControls.Designer.cs (6)
64this.propertyGrid1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 72this.propertyGrid2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 81this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 90this.domainUpDown1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 100this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 109this.trackBar1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
ToolStripContainer.Designer.cs (3)
104this.toolStripContainer2.ContentPanel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 107this.toolStripContainer2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 582this.button1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
DesignSurface (2)
MainForm.cs (1)
435Margin = new Padding(4),
MainForm.Designer.cs (1)
69this.splitContainer.Margin = new System.Windows.Forms.Padding(4);
PresentationUI (80)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (29)
113this._okButton.Margin = new System.Windows.Forms.Padding(0,0,2,0); 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); 371this._description.Margin = new System.Windows.Forms.Padding(0,3,3,0); 382this._keywords.Margin = new System.Windows.Forms.Padding(0,3,3,0); 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); 516this._sizeLabel.Margin = new System.Windows.Forms.Padding(0,3,3,3); 528this._documentDetailBox.Margin = new System.Windows.Forms.Padding(3, 3, 10, 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); 651this._fileSystemBox.Margin = new System.Windows.Forms.Padding(3, 3, 10, 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);
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (8)
63_buttomControlLayoutpanel.Margin = new System.Windows.Forms.Padding(10, 2, 0, 0); 89_divider.Margin = new System.Windows.Forms.Padding(0,20,0,5); 107_userInputTableLayoutPanel.Margin = new System.Windows.Forms.Padding(0); 145_signatureAppliedByDateLabel.Margin = new System.Windows.Forms.Padding(3, 10, 3, 0); 154_requestSignerNameLabel.Margin = new System.Windows.Forms.Padding(3, 10, 3, 0); 163_requestLocationLabel.Margin = new System.Windows.Forms.Padding(3, 10, 3, 0); 181_intentLabel.Margin = new System.Windows.Forms.Padding(3, 10, 3, 0); 205_mainDialogTableLayoutPanel.Margin = new System.Windows.Forms.Padding(10);
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (7)
111_label1.Margin = new System.Windows.Forms.Padding(30, 5, 3, 0); 121_label2.Margin = new System.Windows.Forms.Padding(30, 0, 3, 0); 131_label3.Margin = new System.Windows.Forms.Padding(30, 10, 3, 0); 141_privacyLabel.Margin = new System.Windows.Forms.Padding(30, 0, 3, 0); 152_instructionlabel.Margin = new System.Windows.Forms.Padding(30, 8, 3, 0); 189_nextButton.Margin = new System.Windows.Forms.Padding(10); 198_cancelButton.Margin = new System.Windows.Forms.Padding(10);
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (9)
76this._nextButton.Margin = new System.Windows.Forms.Padding(10); 85this._cancelButton.Margin = new System.Windows.Forms.Padding(10); 108this._label1.Margin = new System.Windows.Forms.Padding(10, 10, 3, 0); 120this._flowLayoutPanel3.Margin = new System.Windows.Forms.Padding(10, 10, 10, 3); 129this._pictureBox1.Margin = new System.Windows.Forms.Padding(5); 139this._label2.Margin = new System.Windows.Forms.Padding(5); 156this._tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(50, 15, 3, 3); 182this._pictureBox2.Margin = new System.Windows.Forms.Padding(3, 3, 3, 15); 201this._pictureBox4.Margin = new System.Windows.Forms.Padding(3, 3, 3, 15);
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.cs (1)
192permissionLabel.Margin = new Padding(13, 0, 3, 0);
MS\Internal\Documents\RMPermissions.Designer.cs (2)
88this.authenticatedAsLabel.Margin = new System.Windows.Forms.Padding(13, 3, 3, 3); 121this.requestFromLabel.Margin = new System.Windows.Forms.Padding(13, 3, 3, 3);
MS\Internal\Documents\RMPublishingDialog.Designer.cs (5)
122this.groupBoxMainContent.Margin = new System.Windows.Forms.Padding(5); 179this.comboBoxTemplates.Margin = new System.Windows.Forms.Padding(13, 3, 3, 3); 203this.textBoxUserName.Margin = new System.Windows.Forms.Padding(3, 6, 3, 3); 265this.textBoxPermissionsContact.Margin = new System.Windows.Forms.Padding(23, 3, 3, 3); 290this.datePickerValidUntil.Margin = new System.Windows.Forms.Padding(3, 0, 3, 3);
MS\Internal\Documents\SignatureSummaryDialog.cs (6)
242nameHeader.Margin = columnMargin; 251intentHeader.Margin = columnMargin; 260locationHeader.Margin = columnMargin; 269signByHeader.Margin = columnMargin; 286statusHeader.Margin = columnMargin; 295intentHeader.Margin = columnMargin;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (3)
80_flowpanelMiddleControls.Margin = new System.Windows.Forms.Padding(0, 0, 0, 3); 92_flowpanelBottomControls.Margin = new System.Windows.Forms.Padding(0); 192_mainLayoutTable.Margin = new System.Windows.Forms.Padding(5);
MS\Internal\Documents\SigningDialog.Designer.cs (6)
111_signerlabel.Margin = new System.Windows.Forms.Padding(3, 10, 3, 20); 149_actionlabel.Margin = new System.Windows.Forms.Padding(3, 10, 3, 0); 158_locationLabel.Margin = new System.Windows.Forms.Padding(3, 10, 3, 0); 174_divider.Margin = new System.Windows.Forms.Padding(0, 15, 0, 0); 187_buttonflowLayoutPanel.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); 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 (9)
System\Windows\Forms\Control.cs (3)
342Margin = DefaultMargin; 9066Margin = DefaultMargin; 9712Margin = margins;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (3)
128Margin = new(3, 30, 3, 0), 149Margin = new(12, 3, 29, 3), 174Margin = new(0, 3, 3, 3),
System\Windows\Forms\Form.cs (1)
1283set => base.Margin = value;
System\Windows\Forms\MDI\MDIWindowDialog.cs (2)
111_okButton.Margin = new Padding(0, 0, 3, 0); 118_cancelButton.Margin = new Padding(3, 0, 0, 0);
System.Windows.Forms.Design (125)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (10)
176_byteViewer.Margin = Padding.Empty; 184_buttonOK.Margin = new Padding(0, 0, 3, 0); 194_buttonSave.Margin = new Padding(3, 0, 0, 0); 205_groupBoxMode.Margin = new Padding(0, 3, 0, 3); 221_radioButtonsTableLayoutPanel.Margin = new Padding(9); 228_radioUnicode.Margin = new Padding(3, 0, 0, 0); 236_radioAuto.Margin = new Padding(0, 0, 3, 0); 243_radioAnsi.Margin = new Padding(3, 0, 3, 0); 250_radioHex.Margin = new Padding(3, 0, 3, 0); 262_okSaveTableLayoutPanel.Margin = new Padding(0, 9, 0, 0);
System\ComponentModel\Design\ByteViewer.cs (1)
463Margin = Padding.Empty,
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (10)
426_membersLabel.Margin = new Padding(0, 0, 3, 3); 433_listBox.Margin = new Padding(0, 3, 3, 3); 445_propertiesLabel.Margin = new Padding(0, 0, 3, 3); 450_propertyGrid.Margin = new Padding(3, 3, 0, 3); 455_addButton.Margin = new Padding(0, 3, 3, 3); 459_removeButton.Margin = new Padding(3, 3, 0, 3); 464_okButton.Margin = new Padding(0, 3, 3, 0); 469_cancelButton.Margin = new Padding(3, 3, 0, 0); 476_okCancelTableLayoutPanel.Margin = new Padding(3, 3, 0, 0); 493_addRemoveTableLayoutPanel.Margin = new Padding(0, 3, 3, 3);
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (7)
111_tableLayoutPanel.Margin = new Padding(0); 117_noneCheckBox.Margin = new Padding(3, 3, 3, 1); 123_allCheckBox.Margin = new Padding(3, 3, 3, 1); 128_topCheckBox.Margin = new Padding(20, 1, 3, 1); 134_bottomCheckBox.Margin = new Padding(20, 1, 3, 1); 140_rightCheckBox.Margin = new Padding(20, 1, 3, 1); 146_leftCheckBox.Margin = new Padding(20, 1, 3, 1);
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (18)
290_dataBoundColumnRadioButton.Margin = new Padding(0); 313_overarchingTableLayoutPanel.Margin = new Padding(12, 12, 12, 13); 337_checkBoxesTableLayoutPanel.Margin = new Padding(0); 345_frozenCheckBox.Margin = new Padding(0); 353_visibleCheckBox.Margin = new Padding(0); 359_readOnlyCheckBox.Margin = new Padding(0); 369_okCancelTableLayoutPanel.Margin = new Padding(0, 6, 0, 0); 376_addButton.Margin = new Padding(0, 0, 3, 0); 383_cancelButton.Margin = new Padding(3, 0, 0, 0); 391_columnInDataSourceLabel.Margin = new Padding(0); 399_dataColumns.Margin = new Padding(0); 408_unboundColumnRadioButton.Margin = new Padding(0); 415_nameLabel.Margin = new Padding(0); 421_nameTextBox.Margin = new Padding(0); 428_typeLabel.Margin = new Padding(0); 436_columnTypesCombo.Margin = new Padding(0); 443_headerTextLabel.Margin = new Padding(0); 449_headerTextBox.Margin = new Padding(0);
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (11)
146_cellStyleProperties.Margin = new Padding(0, 0, 0, 3); 168_sampleViewGridsTableLayoutPanel.Margin = new Padding(0, 3, 0, 0); 174_normalLabel.Margin = new Padding(0); 180_sampleDataGridView.Margin = new Padding(0); 187_selectedLabel.Margin = new Padding(0); 193_sampleDataGridViewSelected.Margin = new Padding(0); 199_label1.Margin = new Padding(0, 0, 0, 3); 204_okButton.Margin = new Padding(0, 0, 3, 0); 209_cancelButton.Margin = new Padding(3, 0, 0, 0); 217_okCancelTableLayoutPanel.Margin = new Padding(0, 3, 0, 0); 223_previewGroupBox.Margin = new Padding(0, 3, 0, 3);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (11)
495_addButton.Margin = new Padding(0, 0, 3, 0); 503_deleteButton.Margin = new Padding(3, 0, 0, 0); 511_moveDown.Margin = new Padding(0, 1, 18, 0); 518_moveUp.Margin = new Padding(0, 0, 18, 1); 526_selectedColumns.Margin = new Padding(0, 2, 3, 3); 561_addRemoveTableLayoutPanel.Margin = new Padding(0, 3, 3, 3); 568_selectedColumnsLabel.Margin = new Padding(0); 574_propertyGridLabel.Margin = new Padding(3, 0, 0, 0); 581_propertyGrid1.Margin = new Padding(3, 2, 0, 3); 602_cancelButton.Margin = new Padding(3, 0, 0, 0); 610_okButton.Margin = new Padding(0, 0, 3, 0);
System\Windows\Forms\Design\FormatControl.cs (1)
311Margin = new Padding(0, 3, 0, 3),
System\Windows\Forms\Design\FormatStringDialog.cs (1)
175_formatControl1.Margin = new Padding(0);
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (5)
63_caption.Margin = new Padding(3, 1, 3, 0); 68_sampleEdit.Margin = new Padding(3, 2, 3, 3); 76_okButton.Margin = new Padding(0, 0, 2, 0); 82_cancelButton.Margin = new Padding(3, 0, 0, 0); 92_okCancelTableLayoutPanel.Margin = new Padding(3, 1, 3, 3);
System\Windows\Forms\Design\MaskDesignerDialog.cs (11)
147_maskedTextBox.Margin = new Padding(3, 3, 18, 0); 153_lblHeader.Margin = new Padding(0, 0, 0, 3); 167_listViewCannedMasks.Margin = new Padding(0, 3, 0, 3); 189_btnOK.Margin = new Padding(0, 0, 3, 0); 198_btnCancel.Margin = new Padding(3, 0, 0, 0); 208_checkBoxUseValidatingType.Margin = new Padding(0, 0, 0, 3); 222_maskTryItTable.Margin = new Padding(0, 3, 0, 3); 230_lblMask.Margin = new Padding(0, 0, 3, 3); 236_txtBoxMask.Margin = new Padding(3, 0, 18, 3); 242_lblTryIt.Margin = new Padding(0, 3, 3, 0); 267_okCancelTableLayoutPanel.Margin = new Padding(0, 6, 0, 0);
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (2)
158_ctrlCheckBox.Margin = new Padding(12, 3, 3, 3); 199_keyComboBox.Margin = new Padding(12, 4, 3, 3);
System\Windows\Forms\Design\StyleEditorForm.cs (23)
204_addRemoveInsertTableLayoutPanel.Margin = new Padding(0, 3, 3, 3); 211_addButton.Margin = new Padding(0, 0, 4, 0); 219_removeButton.Margin = new Padding(2, 0, 2, 0); 227_insertButton.Margin = new Padding(4, 0, 0, 0); 239_okCancelTableLayoutPanel.Margin = new Padding(0, 6, 0, 0); 246_okButton.Margin = new Padding(0, 0, 3, 0); 255_cancelButton.Margin = new Padding(3, 0, 0, 0); 283_showTableLayoutPanel.Margin = new Padding(0, 0, 3, 3); 289_memberTypeLabel.Margin = new Padding(0, 0, 3, 0); 301_columnsOrRowsComboBox.Margin = new Padding(3, 0, 0, 0); 315_columnsAndRowsListView.Margin = new Padding(0, 3, 3, 3); 337_helperTextTableLayoutPanel.Margin = new Padding(6, 6, 0, 3); 359_helperLinkLabel1.Margin = new Padding(3, 0, 0, 3); 366_helperLinkLabel2.Margin = new Padding(3, 3, 0, 0); 374_sizeTypeGroupBox.Margin = new Padding(6, 0, 0, 3); 392_sizeTypeTableLayoutPanel.Margin = new Padding(9); 402_absoluteNumericUpDown.Margin = new Padding(_scaledUpDownLeftMargin, _scaledUpDownTopMargin, 0, 0); 407_absoluteRadioButton.Margin = new Padding(0, 3, 3, 0); 413_pixelsLabel.Margin = new Padding(0, 0, _scaledLabelRightMargin, 0); 418_percentLabel.Margin = new Padding(0, 0, _scaledLabelRightMargin, 0); 422_percentRadioButton.Margin = new Padding(0, 3, 3, 0); 427_autoSizedRadioButton.Margin = new Padding(0, 3, 3, 0); 435_percentNumericUpDown.Margin = new Padding(_scaledUpDownLeftMargin, _scaledUpDownTopMargin, 0, 0);
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (14)
363_okCancelPanel.Margin = new Padding(PIXEL_3, PIXEL_3, 0, 0); 364_okButton.Margin = new Padding(0, 0, PIXEL_3, 0); 365_btnCancel.Margin = new Padding(PIXEL_3, 0, 0, 0); 366_nodeControlPanel.Margin = new Padding(0, PIXEL_3, PIXEL_3, PIXEL_3); 367_btnAddRoot.Margin = new Padding(0, 0, PIXEL_3, 0); 368_btnAddChild.Margin = new Padding(PIXEL_3, 0, 0, 0); 369_btnDelete.Margin = new Padding(0, PIXEL_3, 0, 0); 370_moveDownButton.Margin = new Padding(0, PIXEL_3, 0, PIXEL_3); 371_moveUpButton.Margin = new Padding(0, 0, 0, PIXEL_3); 372_propertyGrid1.Margin = new Padding(PIXEL_3, PIXEL_3, 0, PIXEL_3); 373_label2.Margin = new Padding(PIXEL_3, PIXEL_3, 0, PIXEL_3); 374_treeView1.Margin = new Padding(0, PIXEL_3, PIXEL_3, PIXEL_3); 375_label1.Margin = new Padding(0, PIXEL_3, PIXEL_3, PIXEL_3); 376_navigationButtonsTableLayoutPanel.Margin = new Padding(PIXEL_3, PIXEL_3, PIXEL_18, PIXEL_3);
System.Windows.Forms.Tests (34)
System\Windows\Forms\ControlTests.Properties.cs (10)
7711control.Margin = value; 7717control.Margin = value; 7737control.Margin = value; 7745control.Margin = value; 7774control.Margin = value; 7783control.Margin = value; 7819control.Margin = value; 7833control.Margin = value; 7854control.Margin = new Padding(1, 2, 3, 4); 7870control.Margin = new Padding(1, 2, 3, 4);
System\Windows\Forms\Layout\FlowLayoutTests.cs (24)
42Margin = Padding.Empty, 47Margin = new Padding(1, 2, 3, 4), 52Margin = Padding.Empty, 61Margin = new Padding(1, 2, 3, 4), 66Margin = Padding.Empty, 71Margin = Padding.Empty, 103Margin = Padding.Empty, 108Margin = new Padding(1, 2, 3, 4), 113Margin = Padding.Empty, 122Margin = new Padding(1, 2, 3, 4), 127Margin = Padding.Empty, 132Margin = Padding.Empty, 164Margin = Padding.Empty, 169Margin = new Padding(1, 2, 3, 4), 174Margin = Padding.Empty, 183Margin = new Padding(1, 2, 3, 4), 188Margin = Padding.Empty, 193Margin = Padding.Empty, 225Margin = Padding.Empty, 230Margin = new Padding(1, 2, 3, 4), 235Margin = Padding.Empty, 244Margin = new Padding(1, 2, 3, 4), 249Margin = Padding.Empty, 254Margin = Padding.Empty,
System.Windows.Forms.UI.IntegrationTests (1)
Dpi\SplitContainerTests.cs (1)
50Margin = new Padding(0),
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
337Child.Margin = SWF.Padding.Empty;
WinFormsControlsTest (49)
ComboBoxes.Designer.cs (1)
240this.currentDPILabel1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
ComboBoxesWithScrollBars.Designer.cs (22)
75this.comboBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 87this.comboBox2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 99this.comboBox3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 114this.changeHeightGroupBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 126this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 135this.changeDDH_UpDown1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 151this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 160this.changeCBHeight_UpDown2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 174this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 183this.changeDDH_UpDown3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 201this.changeMaxDropDownItemsGroupBox2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 212this.maxDropDownItemsUpDown1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 225this.maxDropDownItemsUpDown2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 239this.maxDropDownItemsUpDown3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 255this.changeIntegralHeightGroupBox3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 267this.integralHeightCheckBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 278this.integralHeightCheckBox2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 289this.integralHeightCheckBox3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 302this.changeHeightsStyleGroupBox4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 314this.useDifferentHeightsCheckBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 325this.useDifferentHeightsCheckBox2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); 336this.useDifferentHeightsCheckBox3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
DateTimePicker.Designer.cs (5)
46this.dateTimePicker1.Margin = new Padding(4, 3, 4, 3); 56this.dateTimePicker2.Margin = new Padding(4, 3, 4, 3); 67this.dateTimePicker3.Margin = new Padding(4, 3, 4, 3); 77this.dateTimePicker4.Margin = new Padding(4, 3, 4, 3); 87this.dateTimePicker5.Margin = new Padding(4, 3, 4, 3);
DesignTimeAligned.Designer.cs (4)
45this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); 56this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); 66this.button1.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); 77this.textBox1.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
Dialogs.Designer.cs (1)
55this.propertyGrid1.Margin = new System.Windows.Forms.Padding(2);
MenuStripAndCheckedListBox.Designer.cs (1)
275this.currentDpiLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
MessageBoxes.Designer.cs (1)
43this.propertyGrid1.Margin = new System.Windows.Forms.Padding(2);
PictureBoxes.Designer.cs (2)
46this.pictureBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); 59this.btnloadImage.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
PropertyGrid.Designer.cs (1)
42this.propertyGrid1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
Splitter.Designer.cs (1)
43this.splitContainer1.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
TrackBars.Designer.cs (10)
61this.trackBar1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); 73this.rbHorizontal.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); 86this.rbVertical.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); 99this.gbOrientation.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); 111this.chbRightToLeft.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); 123this.chbRightToLeftLayout.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); 135this.tickstyleNone.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); 146this.numericMinimum.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); 165this.numericMaximum.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); 184this.numericFrequency.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
102 references to Margin
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
505int totalPadding = button.Padding.Horizontal + button.Margin.Horizontal;
System.Windows.Forms (20)
System\Windows\Forms\Control.cs (4)
2445if (value != Margin) 2451Debug.Assert(Margin == value, "Error detected while setting Margin."); 9681Padding margins = Margin; 10592return !Margin.Equals(DefaultMargin);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (2)
85_detailsTextBox.Width = _overarchingTableLayoutPanel.Width - _detailsTextBox.Margin.Horizontal; 310int y = _detailsButton.Location.Y + _detailsButton.Height + _detailsButton.Margin.Bottom;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (1)
35displayRect.Width = ToolStripPanel.ParentInternal.DisplayRectangle.Width - (ToolStripPanel.Margin.Horizontal + ToolStripPanel.Padding.Horizontal) - Row.Margin.Horizontal;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (1)
36displayRect.Height = ToolStripPanel.ParentInternal.DisplayRectangle.Height - (ToolStripPanel.Margin.Vertical + ToolStripPanel.Padding.Vertical) - Row.Margin.Vertical;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (8)
143insertionRect = new Rectangle(_owner.Margin.Left, item.Bounds.Top, _owner.Width - (_owner.Margin.Horizontal) - 1, ToolStrip.s_insertionBeamWidth); 146insertionRect = new Rectangle(_owner.Margin.Left, item.Bounds.Bottom, _owner.Width - (_owner.Margin.Horizontal) - 1, ToolStrip.s_insertionBeamWidth); 149insertionRect = new Rectangle(item.Bounds.Right, _owner.Margin.Top, ToolStrip.s_insertionBeamWidth, _owner.Height - (_owner.Margin.Vertical) - 1); 152insertionRect = new Rectangle(item.Bounds.Left, _owner.Margin.Top, ToolStrip.s_insertionBeamWidth, _owner.Height - (_owner.Margin.Vertical) - 1);
System\Windows\Forms\Form.cs (1)
1282get => base.Margin;
System\Windows\Forms\Layout\CommonProperties.cs (1)
79/// We can not use our pattern of passing the default value into <see cref="Control.Margin"/> because the
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
466ctlRight += current.Margin.Right; 467ctlBottom += current.Margin.Bottom;
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (4)
167lines.Add(new SnapLine(SnapLineType.Horizontal, loc.Y + _primaryControl.Margin.Bottom, SnapLine.MarginBottom, SnapLinePriority.Always)); 175lines.Add(new SnapLine(SnapLineType.Horizontal, loc.Y - _primaryControl.Margin.Top, SnapLine.MarginTop, SnapLinePriority.Always)); 184lines.Add(new SnapLine(SnapLineType.Vertical, loc.X + _primaryControl.Margin.Right, SnapLine.MarginRight, SnapLinePriority.Always)); 192lines.Add(new SnapLine(SnapLineType.Vertical, loc.X - _primaryControl.Margin.Left, SnapLine.MarginLeft, SnapLinePriority.Always));
System\Windows\Forms\Design\ControlCommandSet.cs (3)
481lines.Add(new SnapLine(SnapLineType.Vertical, pt.X + primaryControl.Width + primaryControl.Margin.Right, SnapLine.MarginRight, SnapLinePriority.Always)); 489lines.Add(new SnapLine(SnapLineType.Vertical, pt.X - primaryControl.Margin.Left, SnapLine.MarginLeft, SnapLinePriority.Always)); 502lines.Add(new SnapLine(SnapLineType.Horizontal, pt.Y + primaryControl.Height + primaryControl.Margin.Bottom, SnapLine.MarginBottom, SnapLinePriority.Always));
System\Windows\Forms\Design\ControlDesigner.cs (1)
343internal IList<SnapLine> EdgeAndMarginSnapLines() => EdgeAndMarginSnapLines(Control.Margin);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (2)
150var margin = control.Margin; 202var margin = currentControl.Margin;
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
200_keyComboBox.Padding = _keyComboBox.Margin;
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
97Assert.Equal(new Padding(3), control.Margin);
System.Windows.Forms.Tests (67)
System\Windows\Forms\AxHostTests.cs (2)
89Assert.Equal(new Padding(3), control.Margin); 183Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\ButtonBaseTests.cs (1)
87Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\ButtonTests.cs (1)
90Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\CheckBoxTests.cs (1)
91Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\ComboBoxTests.cs (1)
99Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\ContainerControlTests.cs (1)
95Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\ControlTests.cs (5)
73Assert.Equal(new Padding(3), control.Margin); 162Assert.Equal(new Padding(3), control.Margin); 258Assert.Equal(new Padding(3), control.Margin); 354Assert.Equal(new Padding(3), control.Margin); 450Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\ControlTests.Properties.cs (15)
7682Assert.Equal(expected, control.Margin); 7712Assert.Equal(expected, control.Margin); 7718Assert.Equal(expected, control.Margin); 7738Assert.Equal(expected, control.Margin); 7746Assert.Equal(expected, control.Margin); 7775Assert.Equal(expected, control.Margin); 7784Assert.Equal(expected, control.Margin); 7820Assert.Equal(expected, control.Margin); 7834Assert.Equal(expected, control.Margin); 7850PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.Margin)]; 7855Assert.Equal(new Padding(1, 2, 3, 4), control.Margin); 7859Assert.Equal(new Padding(3), control.Margin); 7866PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.Margin)]; 7871Assert.Equal(new Padding(1, 2, 3, 4), control.Margin); 7875Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
89Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\DateTimePickerTests.cs (1)
90Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
96Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\DomainUpDownTests.cs (1)
118_sub.Margin.Should().Be(new Padding(3));
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
89Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\GroupBoxTests.cs (1)
77Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\HScrollBarTests.cs (1)
85Assert.Equal(Padding.Empty, control.Margin);
System\Windows\Forms\LabelTests.cs (1)
82Assert.Equal(new Padding(3, 0, 3, 0), control.Margin);
System\Windows\Forms\ListBoxTests.cs (1)
93Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\ListControlTests.cs (1)
83Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\ListViewTests.cs (1)
109Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\MdiClientTests.cs (1)
61Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\MenuStripTests.cs (1)
107Assert.Equal(Padding.Empty, control.Margin);
System\Windows\Forms\MonthCalendarTests.cs (1)
94Assert.Equal(new Padding(9), control.Margin);
System\Windows\Forms\PanelTests.cs (1)
89Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\PictureBoxTests.cs (1)
84Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\PropertyGridTests.cs (1)
124Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\RadioButtonTests.cs (1)
90Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\RichTextBoxTests.cs (1)
96Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\ScrollableControlTests.cs (1)
88Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\ScrollBarTests.cs (1)
75Assert.Equal(Padding.Empty, control.Margin);
System\Windows\Forms\SplitterPanelTests.cs (1)
79Assert.Equal(Padding.Empty, control.Margin);
System\Windows\Forms\SplitterTests.cs (1)
75Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\StatusStripTests.cs (1)
107Assert.Equal(Padding.Empty, control.Margin);
System\Windows\Forms\TabControlTests.cs (1)
80Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
97Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\TabPageTests.cs (2)
94Assert.Equal(new Padding(3), control.Margin); 203Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
91Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
114Assert.Equal(Padding.Empty, control.Margin);
System\Windows\Forms\ToolStripPanelTests.cs (1)
91Assert.Equal(Padding.Empty, control.Margin);
System\Windows\Forms\ToolStripTests.cs (2)
125Assert.Equal(Padding.Empty, control.Margin); 280Assert.Equal(Padding.Empty, control.Margin);
System\Windows\Forms\TreeViewTests.cs (1)
88Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\UpDownBaseTests.cs (1)
103Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\UserControlTests.cs (1)
95Assert.Equal(new Padding(3), control.Margin);
System\Windows\Forms\VScrollBarTests.cs (1)
84Assert.Equal(Padding.Empty, control.Margin);
System\Windows\Forms\WebBrowserTests.cs (1)
72Assert.Equal(new Padding(3), control.Margin);
TextBoxTests.cs (1)
83Assert.Equal(new Padding(3), control.Margin);
TrackBarTests.cs (1)
77Assert.Equal(new Padding(3), control.Margin);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
998OnPropertyChanged("Margin", this.Margin);
WinFormsControlsTest (1)
MainForm.cs (1)
291int padding = overarchingFlowLayoutPanel.Controls[0].Margin.All;