18 references to Inherit
System.Windows.Forms (8)
System\Windows\Forms\Control.cs (1)
11473bool raiseOnFontChangedEvent = container is null || container.AutoScaleMode != AutoScaleMode.Inherit;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
146AutoScaleMode = AutoScaleMode.Inherit;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (6)
40private AutoScaleMode _autoScaleMode = AutoScaleMode.Inherit; 181if (_autoScaleMode != AutoScaleMode.Inherit) 673|| containerControl.AutoScaleMode == AutoScaleMode.Inherit)) 822&& AutoScaleMode != AutoScaleMode.None && AutoScaleMode != AutoScaleMode.Inherit 973if (AutoScaleMode == AutoScaleMode.Inherit) 1075if (AutoScaleMode == AutoScaleMode.Inherit)
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\DocumentDesigner.cs (2)
103return AutoScaleMode.Inherit; 1338return !_initializing && AutoScaleMode != AutoScaleMode.None && AutoScaleMode != AutoScaleMode.Inherit;
System.Windows.Forms.Tests (8)
System\Windows\Forms\ContainerControlTests.cs (2)
30Assert.Equal(AutoScaleMode.Inherit, control.AutoScaleMode); 241yield return new object[] { AutoScaleMode.Inherit, SizeF.Empty };
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
35Assert.Equal(AutoScaleMode.Inherit, control.AutoScaleMode);
System\Windows\Forms\DomainUpDownTests.cs (1)
39_sub.AutoScaleMode.Should().Be(AutoScaleMode.Inherit);
System\Windows\Forms\FormTests.cs (1)
33Assert.Equal(AutoScaleMode.Inherit, control.AutoScaleMode);
System\Windows\Forms\PropertyGridTests.cs (1)
35Assert.Equal(AutoScaleMode.Inherit, control.AutoScaleMode);
System\Windows\Forms\UpDownBaseTests.cs (1)
25Assert.Equal(AutoScaleMode.Inherit, control.AutoScaleMode);
System\Windows\Forms\UserControlTests.cs (1)
31Assert.Equal(AutoScaleMode.Inherit, control.AutoScaleMode);