Implemented interface member:
19 references to Equals
System.Drawing.Primitives (1)
System\Drawing\Size.cs (1)
180public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is Size && Equals((Size)obj);
System.Windows.Forms (16)
System\Windows\Forms\ActiveX\AxHost.cs (3)
1413if ((b.Size.Equals(DefaultSize)) && (!b.Size.Equals(p))) 3264if (!newSize.Equals(setExtent))
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1716if (_control.Size.Equals(size))
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
333else if (!size.Equals(ImageSize))
System\Windows\Forms\Controls\ListView\ListView.cs (1)
1701return !_tileSize.Equals(Size.Empty);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (2)
277if (_dimensions.Equals(value)) 1904=> !_dimensions.Equals(new Size(1, 1));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
4861if (topControl.Size.Equals(dialog.Size))
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1766return !_itemSize.Equals(s_defaultItemSize);
System\Windows\Forms\Form.cs (4)
1196if (!value.Equals(MaximumSize)) 1309if (!value.Equals(MinimumSize)) 2987if (baseVar.Equals(newVar)) 6142if (!ClientSize.Equals(previousClientSize))
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
1131private bool ShouldSerializeAutoScrollMargin() => !AutoScrollMargin.Equals(Size.Empty); 1137private bool ShouldSerializeAutoScrollMinSize() => !AutoScrollMinSize.Equals(Size.Empty);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\CommandSet.cs (1)
3316if (!child.Size.Equals(parentSize))
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
2262return !(GridSize.Equals(parent.GridSize));