42 references to LocalAppContextSwitches
System.Windows.Forms (42)
winforms\Managed\System\WinForms\AppContextDefaultValues.Defaults.cs (8)
22LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DontSupportReentrantFilterMessageSwitchName, true); 23LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DoNotSupportSelectAllShortcutInMultilineTextBoxSwitchName, true); 26LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DoNotLoadLatestRichEditControlSwitchName, true); 32LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.UseLegacyContextMenuStripSourceControlValueSwitchName, true); 33LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DomainUpDownUseLegacyScrollingSwitchName, true); 34LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.AllowUpdateChildControlIndexForTabControlsSwitchName, true); 39LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.UseLegacyImagesSwitchName, true); 40LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.EnableVisualStyleValidationSwitchName, true);
winforms\Managed\System\WinForms\Application.cs (2)
772&& LocalAppContextSwitches.EnableVisualStyleValidation) { 3588if (messageFilters != null && !GetState(STATE_FILTERSNAPSHOTVALID) && (LocalAppContextSwitches.DontSupportReentrantFilterMessage || inProcessFilters == 0)) {
winforms\Managed\System\WinForms\ComboBox.cs (1)
1755if (!DesignMode && (childEdit != null && m.HWnd == childEdit.Handle) && !LocalAppContextSwitches.EnableLegacyIMEFocusInComboBox) {
winforms\Managed\System\WinForms\Control.cs (1)
12635if (!LocalAppContextSwitches.AllowUpdateChildControlIndexForTabControls) {
winforms\Managed\System\WinForms\Control.Ime.cs (2)
679if( LocalAppContextSwitches.EnableLegacyChineseIMEIndicator && ImeModeConversion.InputLanguageTable == ImeModeConversion.ChineseTable ) { 758if ( LocalAppContextSwitches.EnableLegacyChineseIMEIndicator && (inputLanguageTable == ImeModeConversion.ChineseTable) && !lastLanguageChinese) {
winforms\Managed\System\WinForms\DataObject.cs (1)
1483else if (!LocalAppContextSwitches.EnableLegacyDangerousClipboardDeserializationMode) {
winforms\Managed\System\WinForms\DomainUpDown.cs (3)
305if (!LocalAppContextSwitches.UseLegacyDomainUpDownControlScrolling) { 553if (domainIndex == -1 && LocalAppContextSwitches.UseLegacyDomainUpDownControlScrolling) { 567if(!LocalAppContextSwitches.UseLegacyDomainUpDownControlScrolling) {
winforms\Managed\System\WinForms\LocalAppContextSwitches.cs (11)
38return LocalAppContext.GetCachedSwitchValue(LocalAppContextSwitches.DontSupportReentrantFilterMessageSwitchName, ref _dontSupportReentrantFilterMessage); 45return LocalAppContext.GetCachedSwitchValue(LocalAppContextSwitches.DoNotSupportSelectAllShortcutInMultilineTextBoxSwitchName, ref _doNotSupportSelectAllShortcutInMultilineTextBox); 52return LocalAppContext.GetCachedSwitchValue(LocalAppContextSwitches.DoNotLoadLatestRichEditControlSwitchName, ref _doNotLoadLatestRichEditControl); 59return LocalAppContext.GetCachedSwitchValue(LocalAppContextSwitches.UseLegacyContextMenuStripSourceControlValueSwitchName, ref _useLegacyContextMenuStripSourceControlValue); 66return LocalAppContext.GetCachedSwitchValue(LocalAppContextSwitches.DomainUpDownUseLegacyScrollingSwitchName, ref _useLegacyDomainUpDownScrolling); 73return LocalAppContext.GetCachedSwitchValue(LocalAppContextSwitches.AllowUpdateChildControlIndexForTabControlsSwitchName, ref _allowUpdateChildControlIndexForTabControls); 80return LocalAppContext.GetCachedSwitchValue(LocalAppContextSwitches.UseLegacyImagesSwitchName, ref _useLegacyImages); 87return LocalAppContext.GetCachedSwitchValue(LocalAppContextSwitches.EnableVisualStyleValidationSwitchName, ref _enableVisualStyleValidation); 105LocalAppContext.GetCachedSwitchValue(LocalAppContextSwitches.EnableLegacyDangerousClipboardDeserializationModeSwitchName, ref _enableLegacyDangerousClipboardDeserializationMode); 119return LocalAppContext.GetCachedSwitchValue(LocalAppContextSwitches.EnableLegacyChineseIMEIndicatorSwitchName, ref _enableLegacyChineseIMEIndicator); 130return LocalAppContext.GetCachedSwitchValue(LocalAppContextSwitches.EnableLegacyIMEFocusInComboBoxSwitchName, ref _enableLegacyIMEFocusInComboBox);
winforms\Managed\System\WinForms\RichTextBox.cs (3)
362string richEditControlDllVersion = LocalAppContextSwitches.DoNotLoadLatestRichEditControl ? RichTextBoxConstants.DLL_RICHEDIT : RichTextBoxConstants.DLL_RICHEDIT_41; 399cp.ClassName = LocalAppContextSwitches.DoNotLoadLatestRichEditControl ? RichTextBoxConstants.WC_RICHEDITA : RichTextBoxConstants.WC_RICHEDITA_41; 402cp.ClassName = LocalAppContextSwitches.DoNotLoadLatestRichEditControl ? RichTextBoxConstants.WC_RICHEDITW : RichTextBoxConstants.WC_RICHEDITW_41;
winforms\Managed\System\WinForms\TextBox.cs (1)
714if (!returnValue && this.Multiline && !LocalAppContextSwitches.DoNotSupportSelectAllShortcutInMultilineTextBox
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
1295if (!LocalAppContextSwitches.UseLegacyContextMenuStripSourceControlValue && 2185if (!LocalAppContextSwitches.UseLegacyContextMenuStripSourceControlValue) {
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (3)
362if (!LocalAppContextSwitches.UseLegacyImages) 373if (!LocalAppContextSwitches.UseLegacyImages) 385if (!LocalAppContextSwitches.UseLegacyImages)
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (4)
405if (!LocalAppContextSwitches.UseLegacyImages) 650if (!LocalAppContextSwitches.UseLegacyImages) 662if (!LocalAppContextSwitches.UseLegacyImages) 675if (!LocalAppContextSwitches.UseLegacyImages)