32 writes to Margin
System.Windows.Forms (32)
winforms\Managed\System\WinForms\ArrangedElement.cs (1)
36
this.
Margin
= DefaultMargin;
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (1)
102
this.
Margin
= Padding.Empty;
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (30)
1028
lastCellOnRow.
Margin
= cellMargin;
1090
cell.
Margin
= cellMargin;
1097
cell.
Margin
= cellMargin;
1107
cell.
Margin
= cellMargin;
1155
cell.
Margin
= cellMargin;
1162
cell.
Margin
= cellMargin;
1193
cell.
Margin
= cellMargin;
1221
cell.
Margin
= cellMargin;
1252
nextCell.
Margin
= nextCellMargin;
1334
nextCell.
Margin
= nextCellMargin;
1350
nextCell.
Margin
= nextCellMargin;
1366
lastCell.
Margin
= lastCellMargin;
1384
newCell.
Margin
= newCellMargin;
1412
cell.
Margin
= cellMargin;
1539
lastCellOnRow.
Margin
= cellMargin;
1604
cell.
Margin
= cellMargin;
1611
cell.
Margin
= cellMargin;
1621
cell.
Margin
= cellMargin;
1671
cell.
Margin
= cellMargin;
1678
cell.
Margin
= cellMargin;
1701
cell.
Margin
= cellMargin;
1729
cell.
Margin
= cellMargin;
1768
lastCellOnRow.
Margin
= cellMargin;
1776
lastCellOnRow.
Margin
= cellMargin;
1865
nextCell.
Margin
= nextCellMargin;
1881
nextCell.
Margin
= nextCellMargin;
1898
lastCell.
Margin
= lastCellMargin;
1918
newCell.
Margin
= newCellMargin;
1938
cell.
Margin
= cellMargin;
1966
nextCell.
Margin
= nextCellMargin;
40 references to Margin
System.Windows.Forms (40)
winforms\Managed\System\WinForms\ArrangedElement.cs (1)
79
if (
Margin
!= value ) { CommonProperties.SetMargin(this, value); }
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
1258
Debug.Write(String.Format(CultureInfo.CurrentCulture, "[{0} {1}] ", RowsInternal[i].ControlsInternal[j].Name, ((ToolStripPanelCell)RowsInternal[i].Cells[j]).
Margin
));
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (38)
419
margins[i] = c.
Margin
.Left;
428
cachedBounds.X -= Math.Max(0, margins[i] - c.
Margin
.Left);
501
margins[i] = c.
Margin
.Top;
510
cachedBounds.X = Math.Max(0, cachedBounds.X - margins[i] - c.
Margin
.Top);
1013
Padding cellMargin = lastCellOnRow.
Margin
;
1024
spaceToFree -= lastCellOnRow.
Margin
.Left;
1083
Padding cellMargin = cell.
Margin
;
1094
freedSpace += cell.
Margin
.Horizontal;
1105
cellMargin = cell.
Margin
;
1148
cellMargin = cell.
Margin
;
1159
freedSpace += cell.
Margin
.Horizontal;
1191
cellMargin = cell.
Margin
;
1219
cellMargin = cell.
Margin
;
1245
int spaceOccupiedByCell = cell.
Margin
.Horizontal + cell.Bounds.Width;
1250
Padding nextCellMargin = nextCell.
Margin
;
1328
Padding nextCellMargin = nextCell.
Margin
;
1348
nextCellMargin = nextCell.
Margin
;
1364
Padding lastCellMargin = lastCell.
Margin
;
1382
Padding newCellMargin = newCell.
Margin
;
1410
Padding cellMargin = cell.
Margin
;
1524
Padding cellMargin = lastCellOnRow.
Margin
;
1535
spaceToFree -= lastCellOnRow.
Margin
.Top;
1597
Padding cellMargin = cell.
Margin
;
1608
freedSpace += cell.
Margin
.Vertical;
1619
cellMargin = cell.
Margin
;
1664
cellMargin = cell.
Margin
;
1675
freedSpace += cell.
Margin
.Vertical;
1699
cellMargin = cell.
Margin
;
1727
cellMargin = cell.
Margin
;
1760
Padding cellMargin = lastCellOnRow.
Margin
;
1773
spaceToFree -= lastCellOnRow.
Margin
.Top;
1859
Padding nextCellMargin = nextCell.
Margin
;
1879
nextCellMargin = nextCell.
Margin
;
1896
Padding lastCellMargin = lastCell.
Margin
;
1916
Padding newCellMargin = newCell.
Margin
;
1936
Padding cellMargin = cell.
Margin
;
1959
int spaceOccupiedByCell = cell.
Margin
.Vertical + cell.Bounds.Height;
1964
Padding nextCellMargin = nextCell.
Margin
;