66 references to Inherit
System.Windows.Forms (17)
System\Windows\Forms\Control.Ime.cs (17)
23private static ImeMode s_propagatingImeMode = ImeMode.Inherit; // Inherit means uninitialized. 44if (cachedImeMode == ImeMode.Inherit) 95return ImeMode.Inherit; 100protected virtual ImeMode DefaultImeMode => ImeMode.Inherit; 133[AmbientValue(ImeMode.Inherit)] 263if (s_propagatingImeMode == ImeMode.Inherit) 267ImeMode imeMode = ImeMode.Inherit; 337if (CurrentImeContextMode != newImeContextMode && newImeContextMode != ImeMode.Inherit) 456if (fromContext != ImeMode.Inherit) 651if (s_propagatingImeMode != ImeMode.Inherit) 660PropagatingImeMode = ImeMode.Inherit; 756retval = ImeMode.Inherit; 839Debug.Assert(imeMode != ImeMode.Inherit, "ImeMode.Inherit is an invalid argument to ImeContext.SetImeStatus"); 841if (imeMode is ImeMode.Inherit or ImeMode.NoControl) 981ImeMode.Inherit, 995ImeMode.Inherit, 1009ImeMode.Inherit,
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
58Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System.Windows.Forms.Tests (48)
System\Windows\Forms\AxHostTests.cs (2)
60Assert.Equal(ImeMode.Inherit, control.DefaultImeMode); 154Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\ComboBoxTests.cs (1)
58Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\ContainerControlTests.cs (1)
59Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\ControlTests.cs (5)
46Assert.Equal(ImeMode.Inherit, control.DefaultImeMode); 135Assert.Equal(ImeMode.Inherit, control.DefaultImeMode); 231Assert.Equal(ImeMode.Inherit, control.DefaultImeMode); 327Assert.Equal(ImeMode.Inherit, control.DefaultImeMode); 423Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\ControlTests.Properties.cs (2)
6343yield return new object[] { ImeMode.Inherit, ImeMode.NoControl }; 6450yield return new object[] { ImeMode.Inherit, ImeMode.NoControl };
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
57Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\DateTimePickerTests.cs (1)
61Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
55Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\DomainUpDownTests.cs (1)
79_sub.DefaultImeMode.Should().Be(ImeMode.Inherit);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
52Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\GroupBoxTests.cs (1)
49Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\ListBoxTests.cs (1)
55Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\ListControlTests.cs (1)
52Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\ListViewTests.cs (1)
64Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\MdiControlStripTests.cs (1)
57Assert.Equal(ImeMode.Inherit, mdiControlStrip.DefaultImeMode);
System\Windows\Forms\MenuStripTests.cs (1)
55Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\MonthCalendarTests.cs (1)
1204yield return new object[] { ImeMode.Inherit, ImeMode.NoControl };
System\Windows\Forms\PanelTests.cs (1)
53Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\PictureBoxTests.cs (1)
902yield return new object[] { ImeMode.Inherit, ImeMode.NoControl };
System\Windows\Forms\ProgressBarTests.cs (1)
655yield return new object[] { ImeMode.Inherit, ImeMode.NoControl };
System\Windows\Forms\PropertyGridTests.cs (1)
79Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\RichTextBoxTests.cs (1)
63Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\ScrollableControlTests.cs (1)
52Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\SplitterTests.cs (1)
883yield return new object[] { ImeMode.Inherit, ImeMode.NoControl };
System\Windows\Forms\StatusStripTests.cs (1)
55Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\TabControlTests.cs (1)
50Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
58Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\TabPageTests.cs (2)
58Assert.Equal(ImeMode.Inherit, control.DefaultImeMode); 167Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
55Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\ToolStripDropDownTests.cs (2)
59Assert.Equal(ImeMode.Inherit, control.DefaultImeMode); 1811yield return new object[] { ImeMode.Inherit, ImeMode.NoControl };
System\Windows\Forms\ToolStripPanelTests.cs (1)
55Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\ToolStripTests.cs (2)
59Assert.Equal(ImeMode.Inherit, control.DefaultImeMode); 216Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\TreeViewTests.cs (1)
50Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\UpDownBaseTests.cs (1)
66Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\UserControlTests.cs (1)
59Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
System\Windows\Forms\WebBrowserTests.cs (1)
47Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
TextBoxBaseTests.cs (1)
1405yield return new object[] { ImeMode.Inherit, ImeMode.NoControl };
TextBoxTests.cs (1)
56Assert.Equal(ImeMode.Inherit, control.DefaultImeMode);
TrackBarTests.cs (1)
870yield return new object[] { ImeMode.Inherit, ImeMode.NoControl };