229 writes to Margin
PresentationUI (80)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (29)
113
this._okButton.
Margin
= new System.Windows.Forms.Padding(0,0,2,0);
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);
371
this._description.
Margin
= new System.Windows.Forms.Padding(0,3,3,0);
382
this._keywords.
Margin
= new System.Windows.Forms.Padding(0,3,3,0);
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);
516
this._sizeLabel.
Margin
= new System.Windows.Forms.Padding(0,3,3,3);
528
this._documentDetailBox.
Margin
= new System.Windows.Forms.Padding(3, 3, 10, 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);
651
this._fileSystemBox.
Margin
= new System.Windows.Forms.Padding(3, 3, 10, 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);
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)
76
this._nextButton.
Margin
= new System.Windows.Forms.Padding(10);
85
this._cancelButton.
Margin
= new System.Windows.Forms.Padding(10);
108
this._label1.
Margin
= new System.Windows.Forms.Padding(10, 10, 3, 0);
120
this._flowLayoutPanel3.
Margin
= new System.Windows.Forms.Padding(10, 10, 10, 3);
129
this._pictureBox1.
Margin
= new System.Windows.Forms.Padding(5);
139
this._label2.
Margin
= new System.Windows.Forms.Padding(5);
156
this._tableLayoutPanel1.
Margin
= new System.Windows.Forms.Padding(50, 15, 3, 3);
182
this._pictureBox2.
Margin
= new System.Windows.Forms.Padding(3, 3, 3, 15);
201
this._pictureBox4.
Margin
= new System.Windows.Forms.Padding(3, 3, 3, 15);
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.cs (1)
186
Margin
= new Padding(13, 0, 3, 0)
MS\Internal\Documents\RMPermissions.Designer.cs (2)
88
this.authenticatedAsLabel.
Margin
= new System.Windows.Forms.Padding(13, 3, 3, 3);
121
this.requestFromLabel.
Margin
= new System.Windows.Forms.Padding(13, 3, 3, 3);
MS\Internal\Documents\RMPublishingDialog.Designer.cs (5)
122
this.groupBoxMainContent.
Margin
= new System.Windows.Forms.Padding(5);
179
this.comboBoxTemplates.
Margin
= new System.Windows.Forms.Padding(13, 3, 3, 3);
203
this.textBoxUserName.
Margin
= new System.Windows.Forms.Padding(3, 6, 3, 3);
265
this.textBoxPermissionsContact.
Margin
= new System.Windows.Forms.Padding(23, 3, 3, 3);
290
this.datePickerValidUntil.
Margin
= new System.Windows.Forms.Padding(3, 0, 3, 3);
MS\Internal\Documents\SignatureSummaryDialog.cs (6)
239
Margin
= columnMargin,
250
Margin
= columnMargin,
261
Margin
= columnMargin,
272
Margin
= columnMargin,
291
Margin
= columnMargin,
302
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)
354
Margin
= DefaultMargin;
9184
Margin
= DefaultMargin;
9840
Margin
= margins;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (3)
128
Margin
= new(3, 30, 3, 0),
149
Margin
= new(12, 3, 29, 3),
174
Margin
= new(0, 3, 3, 3),
System\Windows\Forms\Form.cs (1)
1276
set => 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 (139)
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)
463
Margin
= Padding.Empty,
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (10)
440
_membersLabel.
Margin
= new Padding(0, 0, 3, 3);
447
_listBox.
Margin
= new Padding(0, 3, 3, 3);
459
_propertiesLabel.
Margin
= new Padding(0, 0, 3, 3);
464
_propertyGrid.
Margin
= new Padding(3, 3, 0, 3);
469
_addButton.
Margin
= new Padding(0, 3, 3, 3);
473
_removeButton.
Margin
= new Padding(3, 3, 0, 3);
478
_okButton.
Margin
= new Padding(0, 3, 3, 0);
483
_cancelButton.
Margin
= new Padding(3, 3, 0, 0);
490
_okCancelTableLayoutPanel.
Margin
= new Padding(3, 3, 0, 0);
507
_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)
289
_dataBoundColumnRadioButton.
Margin
= new Padding(0);
312
_overarchingTableLayoutPanel.
Margin
= new Padding(12, 12, 12, 13);
336
_checkBoxesTableLayoutPanel.
Margin
= new Padding(0);
344
_frozenCheckBox.
Margin
= new Padding(0);
352
_visibleCheckBox.
Margin
= new Padding(0);
358
_readOnlyCheckBox.
Margin
= new Padding(0);
368
_okCancelTableLayoutPanel.
Margin
= new Padding(0, 6, 0, 0);
375
_addButton.
Margin
= new Padding(0, 0, 3, 0);
382
_cancelButton.
Margin
= new Padding(3, 0, 0, 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 (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)
490
_addButton.
Margin
= new Padding(0, 0, 3, 0);
498
_deleteButton.
Margin
= new Padding(3, 0, 0, 0);
506
_moveDown.
Margin
= new Padding(0, 1, 18, 0);
513
_moveUp.
Margin
= new Padding(0, 0, 18, 1);
521
_selectedColumns.
Margin
= new Padding(0, 2, 3, 3);
556
_addRemoveTableLayoutPanel.
Margin
= new Padding(0, 3, 3, 3);
563
_selectedColumnsLabel.
Margin
= new Padding(0);
569
_propertyGridLabel.
Margin
= new Padding(3, 0, 0, 0);
576
_propertyGrid1.
Margin
= new Padding(3, 2, 0, 3);
597
_cancelButton.
Margin
= new Padding(3, 0, 0, 0);
605
_okButton.
Margin
= new Padding(0, 0, 3, 0);
System\Windows\Forms\Design\FormatControl.cs (1)
311
Margin
= 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\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (14)
204
_btnCancel.
Margin
= new(3, 0, 0, 0);
208
_btnOK.
Margin
= new(0, 0, 3, 0);
239
_addTableLayoutPanel.
Margin
= new(0, 3, 3, 3);
245
_btnAddNew.
Margin
= new(3, 0, 0, 0);
251
_newItemTypes.
Margin
= new(0, 0, 3, 0);
262
_okCancelTableLayoutPanel.
Margin
= new(3, 6, 0, 0);
267
_lblItems.
Margin
= new(0, 3, 3, 0);
271
_selectedItemName.
Margin
= new(3, 3, 3, 0);
276
_selectedItemProps.
Margin
= new(3, 3, 0, 3);
281
_lblMembers.
Margin
= new(0, 3, 3, 0);
287
_listBoxItems.
Margin
= new(0, 3, 3, 3);
293
_btnMoveUp.
Margin
= new(3, 3, 18, 0);
297
_btnMoveDown.
Margin
= new(3, 1, 18, 3);
301
_btnRemove.
Margin
= new(3, 3, 18, 3);
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);
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
329
Child.
Margin
= SWF.Padding.Empty;
33 references to Margin
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
496
int totalPadding = button.Padding.Horizontal + button.
Margin
.Horizontal;
System.Windows.Forms (20)
System\Windows\Forms\Control.cs (4)
2533
if (value !=
Margin
)
2539
Debug.Assert(
Margin
== value, "Error detected while setting Margin.");
9820
Padding margins =
Margin
;
10733
return !
Margin
.Equals(DefaultMargin);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (2)
85
_detailsTextBox.Width = _overarchingTableLayoutPanel.Width - _detailsTextBox.
Margin
.Horizontal;
310
int y = _detailsButton.Location.Y + _detailsButton.Height + _detailsButton.
Margin
.Bottom;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (1)
35
displayRect.Width = ToolStripPanel.ParentInternal.DisplayRectangle.Width - (ToolStripPanel.
Margin
.Horizontal + ToolStripPanel.Padding.Horizontal) - Row.Margin.Horizontal;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (1)
36
displayRect.Height = ToolStripPanel.ParentInternal.DisplayRectangle.Height - (ToolStripPanel.
Margin
.Vertical + ToolStripPanel.Padding.Vertical) - Row.Margin.Vertical;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (8)
143
insertionRect = new Rectangle(_owner.
Margin
.Left, item.Bounds.Top, _owner.Width - (_owner.
Margin
.Horizontal) - 1, ToolStrip.s_insertionBeamWidth);
146
insertionRect = new Rectangle(_owner.
Margin
.Left, item.Bounds.Bottom, _owner.Width - (_owner.
Margin
.Horizontal) - 1, ToolStrip.s_insertionBeamWidth);
149
insertionRect = new Rectangle(item.Bounds.Right, _owner.
Margin
.Top, ToolStrip.s_insertionBeamWidth, _owner.Height - (_owner.
Margin
.Vertical) - 1);
152
insertionRect = new Rectangle(item.Bounds.Left, _owner.
Margin
.Top, ToolStrip.s_insertionBeamWidth, _owner.Height - (_owner.
Margin
.Vertical) - 1);
System\Windows\Forms\Form.cs (1)
1275
get => 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)
458
ctlRight += current.
Margin
.Right;
459
ctlBottom += current.
Margin
.Bottom;
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (4)
167
lines.Add(new SnapLine(SnapLineType.Horizontal, loc.Y + _primaryControl.
Margin
.Bottom, SnapLine.MarginBottom, SnapLinePriority.Always));
175
lines.Add(new SnapLine(SnapLineType.Horizontal, loc.Y - _primaryControl.
Margin
.Top, SnapLine.MarginTop, SnapLinePriority.Always));
184
lines.Add(new SnapLine(SnapLineType.Vertical, loc.X + _primaryControl.
Margin
.Right, SnapLine.MarginRight, SnapLinePriority.Always));
192
lines.Add(new SnapLine(SnapLineType.Vertical, loc.X - _primaryControl.
Margin
.Left, SnapLine.MarginLeft, SnapLinePriority.Always));
System\Windows\Forms\Design\ControlCommandSet.cs (3)
478
lines.Add(new SnapLine(SnapLineType.Vertical, pt.X + primaryControl.Width + primaryControl.
Margin
.Right, SnapLine.MarginRight, SnapLinePriority.Always));
486
lines.Add(new SnapLine(SnapLineType.Vertical, pt.X - primaryControl.
Margin
.Left, SnapLine.MarginLeft, SnapLinePriority.Always));
499
lines.Add(new SnapLine(SnapLineType.Horizontal, pt.Y + primaryControl.Height + primaryControl.
Margin
.Bottom, SnapLine.MarginBottom, SnapLinePriority.Always));
System\Windows\Forms\Design\ControlDesigner.cs (1)
343
internal IList<SnapLine> EdgeAndMarginSnapLines() => EdgeAndMarginSnapLines(Control.
Margin
);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (2)
150
var margin = control.
Margin
;
202
var margin = currentControl.
Margin
;
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
200
_keyComboBox.Padding = _keyComboBox.
Margin
;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
986
OnPropertyChanged("Margin", this.
Margin
);