1 override of Size
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
352public override Size Size
215 writes to Size
Accessibility_Core_App (119)
DataControls.Designer.cs (16)
116this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 25); 123this.bindingNavigatorCountItem.Size = new System.Drawing.Size(35, 25); 133this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 25); 142this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 25); 151this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 25); 157this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 28); 171this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 28); 179this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 25); 188this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 25); 194this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 28); 201this.toolStripButton1.Size = new System.Drawing.Size(114, 25); 207this.toolStripLabel1.Size = new System.Drawing.Size(86, 25); 215this.toolStripSplitButton1.Size = new System.Drawing.Size(149, 25); 223this.toolStripDropDownButton1.Size = new System.Drawing.Size(180, 25); 229this.toolStripSeparator1.Size = new System.Drawing.Size(6, 28); 260this.toolStripLabel2.Size = new System.Drawing.Size(282, 15);
Menu_Toolbars_controls.Designer.cs (54)
132menuStripToolStripMenuItem.Size = new Size(146, 24); 138item1ToolStripMenuItem.Size = new Size(130, 26); 145shortCutsToolStripMenuItem.Size = new Size(146, 24); 151item2ToolStripMenuItem.Size = new Size(130, 26); 158fileToolStripMenuItem.Size = new Size(46, 28); 168newToolStripMenuItem.Size = new Size(181, 26); 177openToolStripMenuItem.Size = new Size(181, 26); 183toolStripSeparator.Size = new Size(178, 6); 191saveToolStripMenuItem.Size = new Size(181, 26); 197saveAsToolStripMenuItem.Size = new Size(181, 26); 203toolStripSeparator1.Size = new Size(178, 6); 211printToolStripMenuItem.Size = new Size(181, 26); 219printPreviewToolStripMenuItem.Size = new Size(181, 26); 225toolStripSeparator2.Size = new Size(178, 6); 230exitToolStripMenuItem.Size = new Size(181, 26); 237editToolStripMenuItem.Size = new Size(49, 28); 245undoToolStripMenuItem.Size = new Size(179, 26); 252redoToolStripMenuItem.Size = new Size(179, 26); 258toolStripSeparator3.Size = new Size(176, 6); 266cutToolStripMenuItem.Size = new Size(179, 26); 275copyToolStripMenuItem.Size = new Size(179, 26); 284pasteToolStripMenuItem.Size = new Size(179, 26); 290toolStripSeparator4.Size = new Size(176, 6); 295selectAllToolStripMenuItem.Size = new Size(179, 26); 302toolsToolStripMenuItem.Size = new Size(58, 28); 309customizeToolStripMenuItem.Size = new Size(161, 26); 315optionsToolStripMenuItem.Size = new Size(161, 26); 322helpToolStripMenuItem.Size = new Size(55, 28); 329contentsToolStripMenuItem.Size = new Size(150, 26); 335indexToolStripMenuItem.Size = new Size(150, 26); 341searchToolStripMenuItem.Size = new Size(150, 26); 347toolStripSeparator5.Size = new Size(147, 6); 352aboutToolStripMenuItem.Size = new Size(150, 26); 359toolStripMenuItem1.Size = new Size(156, 28); 367uncheckedCheckOnClickToolStripMenuItem.Size = new Size(298, 26); 376checkCheckOnClickToolStripMenuItem.Size = new Size(298, 26); 384checkedCheckOnClickFToolStripMenuItem.Size = new Size(298, 26); 393indeterminateToolStripMenuItem.Size = new Size(298, 26); 401indeterminateCheckOnClickFToolStripMenuItem.Size = new Size(298, 26); 438toolStripDropDownButton1.Size = new Size(34, 27); 444toolStripSeparator9.Size = new Size(222, 6); 454toolStripMenuItem3.Size = new Size(225, 26); 464toolStripSplitButton1.Size = new Size(39, 27); 475toolStripSeparator8.Size = new Size(222, 6); 485toolStripMenuItem2.Size = new Size(225, 26); 491toolStripStatusLabel1.Size = new Size(151, 23); 517newToolStripButton.Size = new Size(63, 28); 523toolStripSeparator7.Size = new Size(6, 31); 531toolStripButton1.Size = new Size(197, 28); 541toolStripButton2.Size = new Size(198, 28); 553toolStripButton3.Size = new Size(182, 28); 564toolStripButton4.Size = new Size(181, 28); 576toolStripButton5.Size = new Size(219, 28); 587toolStripButton6.Size = new Size(218, 24);
ToolStripContainer.Designer.cs (49)
156this.toolStripButton1.Size = new System.Drawing.Size(36, 36); 167this.toolStripSplitButton1.Size = new System.Drawing.Size(48, 36); 173this.toolStripToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 182this.newToolStripButton.Size = new System.Drawing.Size(36, 36); 191this.openToolStripButton.Size = new System.Drawing.Size(36, 36); 200this.saveToolStripButton.Size = new System.Drawing.Size(36, 36); 209this.printToolStripButton.Size = new System.Drawing.Size(36, 36); 215this.toolStripSeparator6.Size = new System.Drawing.Size(6, 39); 223this.cutToolStripButton.Size = new System.Drawing.Size(36, 36); 232this.copyToolStripButton.Size = new System.Drawing.Size(36, 36); 241this.pasteToolStripButton.Size = new System.Drawing.Size(36, 36); 247this.toolStripSeparator7.Size = new System.Drawing.Size(6, 39); 255this.helpToolStripButton.Size = new System.Drawing.Size(36, 36); 296this.toolStripDropDownButton1.Size = new System.Drawing.Size(45, 36); 302this.statusStripToolStripMenuItem.Size = new System.Drawing.Size(130, 22); 311this.toolStripSplitButton2.Size = new System.Drawing.Size(48, 36); 317this.toolStripStatusLabel1.Size = new System.Drawing.Size(118, 33); 324this.toolStripStatusLabel2.Size = new System.Drawing.Size(118, 33); 351this.menuStripToolStripMenuItem.Size = new System.Drawing.Size(74, 20); 358this.menuStripItem1ToolStripMenuItem.Size = new System.Drawing.Size(159, 22); 376this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); 385this.newToolStripMenuItem.Size = new System.Drawing.Size(143, 22); 393this.openToolStripMenuItem.Size = new System.Drawing.Size(143, 22); 399this.toolStripSeparator.Size = new System.Drawing.Size(140, 6); 406this.saveToolStripMenuItem.Size = new System.Drawing.Size(143, 22); 412this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(143, 22); 418this.toolStripSeparator1.Size = new System.Drawing.Size(140, 6); 425this.printToolStripMenuItem.Size = new System.Drawing.Size(143, 22); 433this.printPreviewToolStripMenuItem.Size = new System.Drawing.Size(143, 22); 439this.toolStripSeparator2.Size = new System.Drawing.Size(140, 6); 444this.exitToolStripMenuItem.Size = new System.Drawing.Size(143, 22); 459this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); 466this.undoToolStripMenuItem.Size = new System.Drawing.Size(122, 22); 472this.redoToolStripMenuItem.Size = new System.Drawing.Size(122, 22); 478this.toolStripSeparator3.Size = new System.Drawing.Size(119, 6); 485this.cutToolStripMenuItem.Size = new System.Drawing.Size(122, 22); 493this.copyToolStripMenuItem.Size = new System.Drawing.Size(122, 22); 501this.pasteToolStripMenuItem.Size = new System.Drawing.Size(122, 22); 507this.toolStripSeparator4.Size = new System.Drawing.Size(119, 6); 512this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(122, 22); 521this.toolsToolStripMenuItem.Size = new System.Drawing.Size(46, 20); 528this.customizeToolStripMenuItem.Size = new System.Drawing.Size(130, 22); 534this.optionsToolStripMenuItem.Size = new System.Drawing.Size(130, 22); 546this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); 553this.contentsToolStripMenuItem.Size = new System.Drawing.Size(122, 22); 559this.indexToolStripMenuItem.Size = new System.Drawing.Size(122, 22); 565this.searchToolStripMenuItem.Size = new System.Drawing.Size(122, 22); 571this.toolStripSeparator5.Size = new System.Drawing.Size(119, 6); 576this.aboutToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
DesignSurface (14)
MainForm.Designer.cs (14)
187this.editToolStripMenuItem.Size = new System.Drawing.Size(47, 24); 194this.ToolStripMenuItemUnDo.Size = new System.Drawing.Size(165, 24); 202this.ToolStripMenuItemReDo.Size = new System.Drawing.Size(165, 24); 209this.toolStripSeparator3.Size = new System.Drawing.Size(162, 6); 217this.ToolStripMenuItemCut.Size = new System.Drawing.Size(165, 24); 227this.ToolStripMenuItemCopy.Size = new System.Drawing.Size(165, 24); 237this.ToolStripMenuItemPaste.Size = new System.Drawing.Size(165, 24); 245this.ToolStripMenuItemDelete.Size = new System.Drawing.Size(165, 24); 253this.ToolStripMenuItemKeyInvokeSmartTag.Size = new System.Drawing.Size(165, 24); 260this.toolStripSeparator4.Size = new System.Drawing.Size(162, 6); 267this.toolStripMenuItemTools.Size = new System.Drawing.Size(57, 24); 273this.toolStripMenuItemTabOrder.Size = new System.Drawing.Size(145, 24); 282this.helpToolStripMenuItem.Size = new System.Drawing.Size(53, 24); 288this.ToolStripMenuItemAbout.Size = new System.Drawing.Size(128, 24);
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
1365_toolStripOverflowButton.Size = _toolStripOverflowButton.GetPreferredSize(DisplayRectangle.Size - Padding.Size); 3261_toolStripOverflowButton!.Size = _toolStripOverflowButton.GetPreferredSize(DisplayRectangle.Size - Padding.Size);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
367base.Size = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
154Size = DefaultSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
539menuItem.Size = Size;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1384_centerLabel.Size = _miniToolStrip.DisplayRectangle.Size - _centerLabel.Margin.Size; 1404_addItemButton.Size = _miniToolStrip.DisplayRectangle.Size - _addItemButton.Margin.Size;
System.Windows.Forms.Tests (19)
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (1)
953Size = new Size(50, 25),
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (1)
934Size = new Size(50, 25)
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
994Size = new Size(25, 25)
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (1)
117item.Size = new Size(0, 0);
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (1)
217Size = new(25, 25),
System\Windows\Forms\ToolStripItemTests.cs (13)
7843item.Size = value; 7848item.Size = value; 7870item.Size = value; 7877item.Size = value; 7913item.Size = value; 7923item.Size = value; 7972item.Size = value; 7979item.Size = value; 8022item.Size = value; 8032item.Size = value; 15401toolStripMenuItem1.Size = new Size(10, 30); 15402toolStripMenuItem2.Size = new Size(15, 30); 15403toolStripMenuItem3.Size = new Size(15, 30);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
308Size = new Size(100, 50)
WinFormsControlsTest (56)
MenuStripAndCheckedListBox.Designer.cs (24)
91this.fileToolStripMenuItem.Size = new System.Drawing.Size(108, 38); 98this.newToolStripMenuItem.Size = new System.Drawing.Size(401, 44); 106this.openToolStripMenuItem1.Size = new System.Drawing.Size(401, 44); 112this.toolStripSeparator1.Size = new System.Drawing.Size(398, 6); 122this.memoryCardFileToolStripMenuItem.Size = new System.Drawing.Size(401, 44); 131this.navigationToolStripMenuItem.Size = new System.Drawing.Size(265, 44); 140this.newToolStripMenuItem1.Size = new System.Drawing.Size(197, 44); 148this.settingsEditorToolStripMenuItem.Size = new System.Drawing.Size(304, 44); 154this.openToolStripMenuItem.Size = new System.Drawing.Size(208, 44); 160this.saveToolStripMenuItem.Size = new System.Drawing.Size(265, 44); 166this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(265, 44); 172this.exitToolStripMenuItem1.Size = new System.Drawing.Size(265, 44); 178this.toolStripSeparator2.Size = new System.Drawing.Size(398, 6); 183this.exitToolStripMenuItem.Size = new System.Drawing.Size(401, 44); 189this.editToolStripMenuItem.Size = new System.Drawing.Size(75, 38); 195this.viewToolStripMenuItem.Size = new System.Drawing.Size(86, 38); 201this.insertToolStripMenuItem.Size = new System.Drawing.Size(94, 38); 207this.checkStateSamplesToolStripMenuItem.Size = new System.Drawing.Size(200, 38); 220this.uncheckedToolStripMenuItem.Size = new System.Drawing.Size(401, 44); 228this.uncheckedCheckOnClickToolStripMenuItem.Size = new System.Drawing.Size(401, 44); 238this.checkedToolStripMenuItem.Size = new System.Drawing.Size(401, 44); 248this.checkedCheckOnClickToolStripMenuItem.Size = new System.Drawing.Size(401, 44); 257this.indeterminateToolStripMenuItem.Size = new System.Drawing.Size(401, 44); 267this.indeterminateCheckOnClickToolStripMenuItem.Size = new System.Drawing.Size(401, 44);
ToolStripSeparatorPreferredSize.cs (2)
58_toolStripLabel1.Size = new System.Drawing.Size(86, 22); 64_toolStripLabel2.Size = new System.Drawing.Size(86, 22);
ToolStripTests.Designer.cs (30)
143this.toolStrip4_Label1.Size = new System.Drawing.Size(86, 22); 150this.toolStrip4_MenuItem1.Size = new System.Drawing.Size(180, 40); 157this.toolStrip4_SubMenuItem.Size = new System.Drawing.Size(481, 44); 165this.toolStrip2_Button1.Size = new System.Drawing.Size(114, 22); 174this.toolStrip2_Button2.Size = new System.Drawing.Size(114, 22); 182this.toolStrip2_Button3.Size = new System.Drawing.Size(114, 22); 191this.toolStrip2_Button4.Size = new System.Drawing.Size(114, 22); 198this.toolStrip2_Button5.Size = new System.Drawing.Size(114, 22); 205this.toolStrip2_Button6.Size = new System.Drawing.Size(114, 22); 211this.toolStrip2_SplitButton1_ChildButton1.Size = new System.Drawing.Size(180, 22); 217this.toolStrip2_SplitButton1_ChildButton2.Size = new System.Drawing.Size(180, 22); 224this.toolStrip3_MenuItem1.Size = new System.Drawing.Size(180, 40); 232this.toolStrip3_MenuItem2.Size = new System.Drawing.Size(180, 40); 240this.uncheckedCheckOnClickToolStripMenuItem.Size = new System.Drawing.Size(481, 44); 249this.checkCheckOnClickToolStripMenuItem.Size = new System.Drawing.Size(481, 44); 257this.thirdLevelItem.Size = new System.Drawing.Size(481, 44); 265this.thirdLevelButton.Size = new System.Drawing.Size(481, 44); 290this.toolStrip2_SplitButton2.Size = new System.Drawing.Size(133, 22); 297this.toolStripMenuItem1.Size = new System.Drawing.Size(481, 44); 307this.toolStrip2_DropDownButton2.Size = new System.Drawing.Size(180, 22); 314this.toolStripMenuItem2.Size = new System.Drawing.Size(481, 44); 323this.checkedCheckOnClickFToolStripMenuItem.Size = new System.Drawing.Size(481, 44); 332this.indeterminateToolStripMenuItem.Size = new System.Drawing.Size(481, 44); 340this.indeterminateCheckOnClickFToolStripMenuItem.Size = new System.Drawing.Size(481, 44); 351this.toolStrip2_SplitButton1.Size = new System.Drawing.Size(133, 22); 357this.toolStrip2_DropDownButton1_ChildButton1.Size = new System.Drawing.Size(180, 22); 363this.toolStrip2_DropDownButton1_ChildButton2.Size = new System.Drawing.Size(180, 22); 373this.toolStrip2_DropDownButton1.Size = new System.Drawing.Size(180, 22); 406this.toolStripLabel1.Size = new System.Drawing.Size(86, 22); 430this.toolStripStatusLabel1.Size = new System.Drawing.Size(118, 17);
96 references to Size
System.Windows.Forms (44)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (7)
2398return item.AutoSize ? item.GetPreferredSize(Size.Empty) : item.Size; 3527Size itemSize = item.Size; 3557item.Size.Width, 3558item.Size.Height, 3575item.Size.Width, 3576item.Size.Height, 4071item.SetBounds(new Rectangle(location, item.Size));
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
354get => base.Size;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (2)
141Rectangle ownerItemBounds = new(TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords), Size); 384Rectangle itemScreenBounds = new(TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords), Size);
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (6)
135Rectangle bounds = new(Point.Empty, e.Item.Size); 187Rectangle bounds = new(Point.Empty, menuItem.Size); 208DrawArrow(new ToolStripArrowRenderEventArgs(g, item, new Rectangle(Point.Empty, item.Size), arrowColor, ArrowDirection.Down)); 350Rectangle bounds = new(Point.Empty, e.Item.Size); 410Rectangle bounds = new(Point.Empty, e.Item.Size); 442Rectangle bounds = new(Point.Empty, e.Item.Size);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (1)
99Rectangle bounds = new(Point.Empty, _ownerItem.Size);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
539menuItem.Size = Size;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (8)
230Rectangle bounds = new(Point.Empty, item.Size); 248RenderSeparatorInternal(e.Graphics, e.Item, new Rectangle(Point.Empty, e.Item.Size), e.Vertical); 266Rectangle bounds = new(Point.Empty, item.Size); 347Rectangle bounds = new(Point.Empty, item?.Size ?? Size.Empty); 546Rectangle bounds = new(Point.Empty, item.Size); 1108Rectangle bounds = new(Point.Empty, item.Size); 1217Rectangle overflowBoundsFill = new(Point.Empty, e.Item.Size); 1567Rectangle bounds = new(Point.Empty, item.Size);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderEventArgs.cs (1)
109Rectangle itemBounds = new(ToolStrip.PointToClient(ownerItem.TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords)), ownerItem.Size);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
548/// Determines if the <see cref="ToolStripItem.Size"/> property needs to be persisted.
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (8)
40Size overflowButtonSize = toolStrip.OverflowButton.AutoSize ? toolStrip.OverflowButton.GetPreferredSize(_displayRectangle.Size) : toolStrip.OverflowButton.Size; 86Size itemSize = item.AutoSize ? item.GetPreferredSize(_displayRectangle.Size) : item.Size; 136Size itemSize = item.AutoSize ? item.GetPreferredSize(_displayRectangle.Size) : item.Size; 270itemSize = item.AutoSize ? item.GetPreferredSize(Size.Empty) : item.Size; 339Rectangle bounds = LayoutUtils.VAlign(item.Size, _displayRectangle, AnchorStyles.None); 412itemSize = item.AutoSize ? item.GetPreferredSize(Size.Empty) : item.Size; 472Rectangle bounds = LayoutUtils.HAlign(item.Size, _displayRectangle, AnchorStyles.None); 584Size itemSize = item.AutoSize ? item.GetPreferredSize(_displayRectangle.Size) : item.Size;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (8)
388vsRenderer.DrawBackground(g, new Rectangle(Point.Empty, item.Size)); 394DrawArrow(new ToolStripArrowRenderEventArgs(g, item, new Rectangle(Point.Empty, item.Size), arrowColor, ArrowDirection.Down)); 421Rectangle bounds = new(Point.Empty, item.Size); 444Rectangle fillRect = new(Point.Empty, item.Size); 490RenderSeparatorInternal(e.Graphics, e.Item, new Rectangle(Point.Empty, e.Item.Size), e.Vertical); 530Rectangle bounds = new(Point.Empty, splitButton.Size); 656vsRenderer.DrawBackground(g, new Rectangle(Point.Empty, item.Size)); 668RenderSmall3DBorderInternal(g, new Rectangle(Point.Empty, item.Size), state, (item.RightToLeft == RightToLeft.Yes));
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1886Rectangle bounds = new(Point.Empty, item.Size); 1982Rectangle bounds = new(Point.Empty, splitButton.Size);
System.Windows.Forms.Tests (48)
System\Windows\Forms\ToolStripButtonTests.cs (6)
83Assert.Equal(new Size(23, 23), item.Size); 164Assert.Equal(new Size(23, 23), item.Size); 251Assert.Equal(new Size(23, 23), item.Size); 341Assert.Equal(new Size(23, 23), item.Size); 429Assert.Equal(new Size(23, 23), item.Size); 527Assert.Equal(new Size(23, 23), item.Size);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
83Assert.Equal(new Size(23, 23), item.Size); 172Assert.Equal(new Size(23, 23), item.Size); 271Assert.Equal(new Size(23, 23), item.Size); 379Assert.Equal(new Size(23, 23), item.Size);
System\Windows\Forms\ToolStripItemTests.cs (24)
82Assert.Equal(new Size(23, 23), item.Size); 167Assert.Equal(new Size(23, 23), item.Size); 262Assert.Equal(new Size(23, 23), item.Size); 7817Assert.Equal(new Size(10, 11), item.Size); 7844Assert.Equal(value, item.Size); 7849Assert.Equal(value, item.Size); 7871Assert.Equal(value, item.Size); 7878Assert.Equal(value, item.Size); 7914Assert.Equal(value, item.Size); 7924Assert.Equal(value, item.Size); 7973Assert.Equal(value, item.Size); 7980Assert.Equal(value, item.Size); 8023Assert.Equal(value, item.Size); 8033Assert.Equal(value, item.Size); 14560Assert.Equal(bounds.Size, item.Size); 14568Assert.Equal(bounds.Size, item.Size); 14598Assert.Equal(bounds.Size, item.Size); 14608Assert.Equal(bounds.Size, item.Size); 14652Assert.Equal(bounds.Size, item.Size); 14665Assert.Equal(bounds.Size, item.Size); 14726Assert.Equal(bounds.Size, item.Size); 14736Assert.Equal(bounds.Size, item.Size); 14787Assert.Equal(bounds.Size, item.Size); 14800Assert.Equal(bounds.Size, item.Size);
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
92Assert.Equal(new Size(32, 19), item.Size); 353clone.Size.Should().Be(original.Size);
System\Windows\Forms\ToolStripSeparatorTests.cs (11)
80Assert.Equal(new Size(6, 6), item.Size); 1380Assert.Equal(bounds.Size, item.Size); 1388Assert.Equal(bounds.Size, item.Size); 1418Assert.Equal(bounds.Size, item.Size); 1428Assert.Equal(bounds.Size, item.Size); 1480Assert.Equal(new Size(57, bounds.Height), item.Size); 1490Assert.Equal(new Size(57, bounds.Height), item.Size); 1548Assert.Equal(bounds.Size, item.Size); 1558Assert.Equal(bounds.Size, item.Size); 1602Assert.Equal(bounds.Size, item.Size); 1612Assert.Equal(bounds.Size, item.Size);
WinFormsControlsTest (2)
ToolStripSeparatorPreferredSize.cs (2)
26_label1.Text = $"Layout: {_toolStrip1.LayoutStyle}, Size: {_toolStripSeparator1.Size}, GetPreferredSize: {_toolStripSeparator1.GetPreferredSize(_toolStripSeparator1.Size)}";