44 references to OverflowButton
System.Windows.Forms (44)
winforms\Managed\System\WinForms\ToolStrip.cs (26)
1810
if (toolStripOverflowButton != null && this.
OverflowButton
.HasDropDownItems) {
1811
this.
OverflowButton
.DropDown.ShowItemToolTips = value;
2166
if (this.CanOverflow && this.
OverflowButton
.HasDropDown) {
2168
CommonProperties.xClearPreferredSizeCache(this.
OverflowButton
.DropDown);
2169
this.
OverflowButton
.DropDown.LayoutRequired = true;
2172
LayoutTransaction.DoLayout(this.
OverflowButton
.DropDown, e.Item, PropertyNames.Items);
2173
this.
OverflowButton
.DropDown.Invalidate();
2181
if (this.CanOverflow && this.
OverflowButton
.HasDropDown) {
2182
this.
OverflowButton
.DropDown.LayoutRequired = true;
2189
||!this.
OverflowButton
.DropDown.Visible
2190
|| !this.
OverflowButton
.DropDown.IsHandleCreated;
2512
ToolStripOverflowButton overflowItem = toolStrip.
OverflowButton
;
2567
ToolStripOverflowButton overflowItem = toolStrip.
OverflowButton
;
2661
OverflowButton
.DropDown.HandleItemClick(dismissingItem);
4401
if (item is ToolStripControlHost && this.
OverflowButton
.DropDown.IsRestrictedWindow) {
4422
this.
OverflowButton
.Visible = false;
4425
this.DisplayedItems.Add(
OverflowButton
);
4903
if (owner.CanOverflow && owner.
OverflowButton
.Visible && index == owner.Items.Count) {
4904
return owner.
OverflowButton
.AccessibilityObject;
4927
if (owner.CanOverflow && owner.
OverflowButton
.Visible) {
4938
if (!getOverflowItem && owner.CanOverflow && owner.
OverflowButton
.Visible && fragmentIndex == childFragmentCount - 1) {
4939
return owner.
OverflowButton
.AccessibilityObject;
5002
if (owner.CanOverflow && owner.
OverflowButton
.Visible && child.Owner == owner.
OverflowButton
) {
5042
if (owner.CanOverflow && owner.
OverflowButton
.Visible && child.Owner == owner.
OverflowButton
) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
796
return base.
OverflowButton
;
840
return ownerItem.Owner.
OverflowButton
.DropDown;
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
3844
parent = (IsOnOverflow && Owner != null)? Owner.
OverflowButton
.DropDown : Owner;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (3)
400
if (toolStrip.
OverflowButton
.Visible) {
759
if (toolStrip.
OverflowButton
.Visible) {
791
ToolStripItem item = toolStrip.
OverflowButton
;
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (12)
61
Size overflowButtonSize = toolStrip.
OverflowButton
.AutoSize ? toolStrip.
OverflowButton
.GetPreferredSize(displayRectangle.Size) : toolStrip.
OverflowButton
.Size;
63
return overflowButtonSize + toolStrip.
OverflowButton
.Margin.Size;
262
toolStrip.
OverflowButton
.Visible = needOverflow;
280
item = toolStrip.
OverflowButton
;
285
item = toolStrip.
OverflowButton
;
374
item.ParentInternal = (item.Placement == ToolStripItemPlacement.Overflow) ? toolStrip.
OverflowButton
.DropDown : null;
408
toolStrip.
OverflowButton
.Visible = needOverflow;
416
item = toolStrip.
OverflowButton
;
420
item = toolStrip.
OverflowButton
;
499
item.ParentInternal = (item.Placement == ToolStripItemPlacement.Overflow) ? toolStrip.
OverflowButton
.DropDown : null;