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