24 writes to Width
Accessibility_Core_App (3)
PrintingControls.cs (1)
67item.Width = item.Width < 24 ? 24 : item.Width;
RemainingControls.cs (2)
18item.Width = item.Width < 24 ? 24 : item.Width; 28item.Width = item.Width < 24 ? 24 : item.Width;
System.Windows.Forms (1)
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
213PositionItem.Width = 50;
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\ToolStripDesigner.cs (3)
733_editorNode.Width = width; 823_editorNode.Width = _tn.EditorToolStrip.Width; 2260_editorNode.Width = _tn.EditorToolStrip.Width;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
1232ToolStripItem.Width = _editorNode.EditorToolStrip.Width + 2;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (3)
380_typeHereNode.Width = width; 758Width = width 1375dropDownItem.Width = _commitedEditorNode.Width;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
885Width = s_miniToolStripTextBoxWidth
System.Windows.Forms.Tests (10)
System\Windows\Forms\ToolStripItemTests.cs (10)
9633item.Width = value; 9638item.Width = value; 9660item.Width = value; 9667item.Width = value; 9703item.Width = value; 9713item.Width = value; 9755item.Width = value; 9762item.Width = value; 9808item.Width = value; 9818item.Width = value;
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
976Width = 100
WinFormsControlsTest (1)
DragDrop.cs (1)
453Width = 100
68 references to Width
Accessibility_Core_App (6)
PrintingControls.cs (2)
67item.Width = item.Width < 24 ? 24 : item.Width;
RemainingControls.cs (4)
18item.Width = item.Width < 24 ? 24 : item.Width; 28item.Width = item.Width < 24 ? 24 : item.Width;
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
2142Point midPointOfCurrent = new(selectedItem.Bounds.X + selectedItem.Width / 2, 2166Point otherItemMidLocation = new(otherItem.Bounds.X + otherItem.Width / 2, (down) ? otherItem.Bounds.Top : otherItem.Bounds.Bottom);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (3)
307offset.X = -dropDownBounds.Width + Width; 317offset.X = -dropDownBounds.Width + Width; 321offset.X = Width;
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
100e.Graphics.DrawRectangle(SystemPens.ButtonHighlight, new Rectangle(0, 0, e.Item.Width - 1, e.Item.Height - 1)); 181e.Graphics.DrawRectangle(SystemPens.ButtonHighlight, 0, 0, e.Item.Width - 1, e.Item.Height - 1);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (2)
172overflowArrowRect = new Rectangle(item.Width - _overflowButtonWidth, item.Height - _overflowArrowOffsetY, _overflowArrowWidth, _overflowArrowHeight); 322ControlPaint.DrawBorder3D(e.Graphics, new Rectangle(0, 0, item.Width, item.Height), item.BorderStyle, (Border3DSide)item.BorderSides);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (2)
301Rectangle dropDownButtonBounds = new(Point.Empty, new Size(Math.Min(Width, DropDownButtonWidth), Height)); 304int splitButtonButtonWidth = Math.Max(0, Width - dropDownButtonBounds.Width);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
499ControlPaint.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)
1259boundsInAdornerWindow.X += (ToolStripItem.Width - _editorNode.EditorToolStrip.Width) / 2;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
1375dropDownItem.Width = _commitedEditorNode.Width;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1522_miniToolStrip.Width = _centerLabel.Width + 2;
System.Windows.Forms.Tests (47)
BindingNavigatorTests.cs (1)
110Assert.Equal(50, bn.PositionItem.Width);
System\Windows\Forms\ToolStripButtonTests.cs (6)
91Assert.Equal(23, item.Width); 172Assert.Equal(23, item.Width); 259Assert.Equal(23, item.Width); 349Assert.Equal(23, item.Width); 437Assert.Equal(23, item.Width); 535Assert.Equal(23, item.Width);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
120Assert.Equal(c.Width, item.Width);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
91Assert.Equal(23, item.Width); 180Assert.Equal(23, item.Width); 279Assert.Equal(23, item.Width); 387Assert.Equal(23, item.Width);
System\Windows\Forms\ToolStripItemTests.cs (23)
90Assert.Equal(23, item.Width); 175Assert.Equal(23, item.Width); 270Assert.Equal(23, item.Width); 9634Assert.Equal(value, item.Width); 9639Assert.Equal(value, item.Width); 9661Assert.Equal(value, item.Width); 9668Assert.Equal(value, item.Width); 9704Assert.Equal(value, item.Width); 9714Assert.Equal(value, item.Width); 9756Assert.Equal(value, item.Width); 9763Assert.Equal(value, item.Width); 9809Assert.Equal(value, item.Width); 9819Assert.Equal(value, item.Width); 14580Assert.Equal(bounds.Width, item.Width); 14588Assert.Equal(bounds.Width, item.Width); 14618Assert.Equal(bounds.Width, item.Width); 14628Assert.Equal(bounds.Width, item.Width); 14672Assert.Equal(bounds.Width, item.Width); 14685Assert.Equal(bounds.Width, item.Width); 14746Assert.Equal(bounds.Width, item.Width); 14756Assert.Equal(bounds.Width, item.Width); 14807Assert.Equal(bounds.Width, item.Width); 14820Assert.Equal(bounds.Width, item.Width);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
100Assert.Equal(32, item.Width);
System\Windows\Forms\ToolStripSeparatorTests.cs (11)
88Assert.Equal(6, item.Width); 1381Assert.Equal(bounds.Width, item.Width); 1389Assert.Equal(bounds.Width, item.Width); 1419Assert.Equal(bounds.Width, item.Width); 1429Assert.Equal(bounds.Width, item.Width); 1481Assert.Equal(57, item.Width); 1491Assert.Equal(57, item.Width); 1549Assert.Equal(bounds.Width, item.Width); 1559Assert.Equal(bounds.Width, item.Width); 1603Assert.Equal(bounds.Width, item.Width); 1613Assert.Equal(bounds.Width, item.Width);