32 writes to Margin
System.Windows.Forms (32)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
106
Margin
= Padding.Empty;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (14)
130
lastCellOnRow.
Margin
= cellMargin;
198
cell.
Margin
= cellMargin;
205
cell.
Margin
= cellMargin;
218
cell.
Margin
= cellMargin;
267
cell.
Margin
= cellMargin;
274
cell.
Margin
= cellMargin;
307
cell.
Margin
= cellMargin;
338
cell.
Margin
= cellMargin;
371
nextCell.
Margin
= nextCellMargin;
464
nextCell.
Margin
= nextCellMargin;
482
nextCell.
Margin
= nextCellMargin;
497
lastCell.
Margin
= lastCellMargin;
518
newCell.
Margin
= newCellMargin;
544
cell.
Margin
= cellMargin;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (16)
132
lastCellOnRow.
Margin
= cellMargin;
200
cell.
Margin
= cellMargin;
207
cell.
Margin
= cellMargin;
220
cell.
Margin
= cellMargin;
269
cell.
Margin
= cellMargin;
276
cell.
Margin
= cellMargin;
303
cell.
Margin
= cellMargin;
333
cell.
Margin
= cellMargin;
372
lastCellOnRow.
Margin
= cellMargin;
380
lastCellOnRow.
Margin
= cellMargin;
473
nextCell.
Margin
= nextCellMargin;
491
nextCell.
Margin
= nextCellMargin;
507
lastCell.
Margin
= lastCellMargin;
528
newCell.
Margin
= newCellMargin;
548
cell.
Margin
= cellMargin;
581
nextCell.
Margin
= nextCellMargin;
System\Windows\Forms\Layout\ArrangedElement.cs (1)
23
Margin
= DefaultMargin;
39 references to Margin
System.Windows.Forms (39)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (4)
433
margins[i] = c.
Margin
.Left;
443
cachedBounds.X -= Math.Max(0, margins[i] - c.
Margin
.Left);
530
margins[i] = c.
Margin
.Top;
540
cachedBounds.X = Math.Max(0, cachedBounds.X - margins[i] - c.
Margin
.Top);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (16)
113
Padding cellMargin = lastCellOnRow.
Margin
;
125
spaceToFree -= lastCellOnRow.
Margin
.Left;
190
Padding cellMargin = cell.
Margin
;
202
freedSpace += cell.
Margin
.Horizontal;
216
cellMargin = cell.
Margin
;
259
cellMargin = cell.
Margin
;
271
freedSpace += cell.
Margin
.Horizontal;
305
cellMargin = cell.
Margin
;
336
cellMargin = cell.
Margin
;
363
int spaceOccupiedByCell = cell.
Margin
.Horizontal + cell.Bounds.Width;
369
Padding nextCellMargin = nextCell.
Margin
;
457
Padding nextCellMargin = nextCell.
Margin
;
480
nextCellMargin = nextCell.
Margin
;
495
Padding lastCellMargin = lastCell.
Margin
;
516
Padding newCellMargin = newCell.
Margin
;
542
Padding cellMargin = cell.
Margin
;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (18)
115
Padding cellMargin = lastCellOnRow.
Margin
;
127
spaceToFree -= lastCellOnRow.
Margin
.Top;
192
Padding cellMargin = cell.
Margin
;
204
freedSpace += cell.
Margin
.Vertical;
218
cellMargin = cell.
Margin
;
261
cellMargin = cell.
Margin
;
273
freedSpace += cell.
Margin
.Vertical;
301
cellMargin = cell.
Margin
;
331
cellMargin = cell.
Margin
;
364
Padding cellMargin = lastCellOnRow.
Margin
;
377
spaceToFree -= lastCellOnRow.
Margin
.Top;
466
Padding nextCellMargin = nextCell.
Margin
;
489
nextCellMargin = nextCell.
Margin
;
505
Padding lastCellMargin = lastCell.
Margin
;
526
Padding newCellMargin = newCell.
Margin
;
546
Padding cellMargin = cell.
Margin
;
573
int spaceOccupiedByCell = cell.
Margin
.Vertical + cell.Bounds.Height;
579
Padding nextCellMargin = nextCell.
Margin
;
System\Windows\Forms\Layout\ArrangedElement.cs (1)
76
if (
Margin
!= value)