14 writes to CanOverflow
System.Windows.Forms (5)
System\Windows\Forms\Controls\Menus\MenuStrip.cs (1)
53set => base.CanOverflow = value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
197_toolStrip.CanOverflow = false;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
51set => base.CanOverflow = value;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
127CanOverflow = true;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
166set => base.CanOverflow = value;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1488_miniToolStrip.CanOverflow = false;
System.Windows.Forms.Tests (8)
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
972toolStrip.CanOverflow = canOverflow.Value;
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (1)
202CanOverflow = true,
System\Windows\Forms\ToolStripTests.cs (6)
1202control.CanOverflow = value; 1208control.CanOverflow = value; 1214control.CanOverflow = !value; 1242control.CanOverflow = value; 1251control.CanOverflow = value; 1260control.CanOverflow = !value;
27 references to CanOverflow
System.Windows.Forms (16)
System\Windows\Forms\Controls\Menus\MenuStrip.cs (1)
52get => base.CanOverflow;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
50get => base.CanOverflow;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
1971if (CanOverflow && OverflowButton.HasDropDown) 1990if (CanOverflow && OverflowButton.HasDropDown) 4321else if (CanOverflow)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (5)
109if (owner.CanOverflow && owner.OverflowButton.Visible && index == owner.Items.Count) 142if (owner.CanOverflow && owner.OverflowButton.Visible) 162&& owner.CanOverflow 301if (owner.CanOverflow && owner.OverflowButton.Visible && child.Owner == owner.OverflowButton) 342if (owner.CanOverflow && owner.OverflowButton.Visible && child.Owner == owner.OverflowButton)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
165get => base.CanOverflow;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (5)
34if (!toolStrip.CanOverflow) 64if (ToolStrip.CanOverflow) 114if (ToolStrip.CanOverflow) 223bool needOverflow = toolStrip.CanOverflow && ((OverflowRequired) || (OverflowSpace >= OverflowButtonSize.Width)); 377bool needOverflow = toolStrip.CanOverflow && ((OverflowRequired) || (OverflowSpace >= OverflowButtonSize.Height));
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
756if (ToolStrip.CanOverflow && !ToolStrip.OverflowButton.DropDown.Visible) 1020if (ToolStrip.CanOverflow && !ToolStrip.OverflowButton.DropDown.Visible)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
1564if ((topMostItem is not null && topMostItem.GetCurrentParent() is ToolStripOverflow) && !main.CanOverflow)
System.Windows.Forms.Tests (8)
System\Windows\Forms\ToolStripTests.cs (8)
42Assert.True(control.CanOverflow); 202Assert.True(control.CanOverflow); 1203Assert.Equal(value, control.CanOverflow); 1209Assert.Equal(value, control.CanOverflow); 1215Assert.Equal(!value, control.CanOverflow); 1243Assert.Equal(value, control.CanOverflow); 1252Assert.Equal(value, control.CanOverflow); 1261Assert.Equal(!value, control.CanOverflow);