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