9 writes to Width
System.Windows.Forms (1)
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
213
PositionItem.
Width
= 50;
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\ToolStripDesigner.cs (3)
688
_editorNode.
Width
= width;
777
_editorNode.
Width
= _tn.EditorToolStrip.Width;
2275
_editorNode.
Width
= _tn.EditorToolStrip.Width;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
1208
ToolStripItem.
Width
= _editorNode.EditorToolStrip.Width + 2;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (3)
380
_typeHereNode.
Width
= width;
743
Width
= width
1342
dropDownItem.
Width
= _commitedEditorNode.Width;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
843
Width
= s_miniToolStripTextBoxWidth
15 references to Width
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
2133
Point midPointOfCurrent = new(selectedItem.Bounds.X + selectedItem.
Width
/ 2,
2157
Point otherItemMidLocation = new(otherItem.Bounds.X + otherItem.
Width
/ 2, (down) ? otherItem.Bounds.Top : otherItem.Bounds.Bottom);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (3)
307
offset.X = -dropDownBounds.Width +
Width
;
317
offset.X = -dropDownBounds.Width +
Width
;
321
offset.X =
Width
;
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
100
e.Graphics.DrawRectangle(SystemPens.ButtonHighlight, new Rectangle(0, 0, e.Item.
Width
- 1, e.Item.Height - 1));
181
e.Graphics.DrawRectangle(SystemPens.ButtonHighlight, 0, 0, e.Item.
Width
- 1, e.Item.Height - 1);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (2)
172
overflowArrowRect = new Rectangle(item.
Width
- _overflowButtonWidth, item.Height - _overflowArrowOffsetY, _overflowArrowWidth, _overflowArrowHeight);
321
ControlPaint.DrawBorder3D(e.Graphics, new Rectangle(0, 0, item.
Width
, item.Height), item.BorderStyle, (Border3DSide)item.BorderSides);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (2)
301
Rectangle dropDownButtonBounds = new(Point.Empty, new Size(Math.Min(
Width
, DropDownButtonWidth), Height));
304
int splitButtonButtonWidth = Math.Max(0,
Width
- dropDownButtonBounds.Width);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
552
ControlPaint.DrawBorder3D(e.Graphics, new Rectangle(0, 0, item.
Width
- 1, item.Height - 1), item.BorderStyle, (Border3DSide)item.BorderSides);
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
1235
boundsInAdornerWindow.X += (ToolStripItem.
Width
- _editorNode.EditorToolStrip.Width) / 2;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
1342
dropDownItem.Width = _commitedEditorNode.
Width
;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1474
_miniToolStrip.Width = _centerLabel.
Width
+ 2;