72 writes to FormattingEnabled
Accessibility_Core_App (6)
CommonControl1.Designer.cs (4)
244this.checkedListBox1.FormattingEnabled = true; 319this.comboBox2.FormattingEnabled = true; 344this.comboBox1.FormattingEnabled = true; 574this.listBox1.FormattingEnabled = true;
DataBindingExample.Designer.cs (2)
56this.comboBox1.FormattingEnabled = true; 262this.listBox1.FormattingEnabled = true;
PresentationUI (5)
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (1)
141this._credListBox.FormattingEnabled = true;
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (1)
188_intentComboBox.FormattingEnabled = true;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
178this.comboBoxTemplates.FormattingEnabled = true;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
151_listBoxSummary.FormattingEnabled = true;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
137_reasonComboBox.FormattingEnabled = true;
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1279comboBox.FormattingEnabled = true;
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
104_itemList.FormattingEnabled = true;
System.Windows.Forms.Design (8)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
432_listBox.FormattingEnabled = true;
System\Windows\Forms\Design\ComboBoxDesigner.cs (1)
82Control.FormattingEnabled = true;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (2)
398_dataColumns.FormattingEnabled = true; 435_columnTypesCombo.FormattingEnabled = true;
System\Windows\Forms\Design\FormatControl.Designer.cs (2)
156dateTimeFormatsListBox.FormattingEnabled = true; 167formatTypeListBox.FormattingEnabled = true;
System\Windows\Forms\Design\ListBoxDesigner.cs (1)
123((ListBox)Component).FormattingEnabled = true;
System\Windows\Forms\Design\StyleEditorForm.cs (1)
295_columnsOrRowsComboBox.FormattingEnabled = true;
System.Windows.Forms.Tests (29)
System\Windows\Forms\ComboBoxTests.cs (2)
895FormattingEnabled = true 2758FormattingEnabled = true;
System\Windows\Forms\ListBoxTests.cs (6)
2448FormattingEnabled = formattingEnabled 2930FormattingEnabled = formattingEnabled 4161FormattingEnabled = formattingEnabled, 4212FormattingEnabled = formattingEnabled 5824FormattingEnabled = formattingEnabled 6267using ListBox listBox = new() { FormattingEnabled = formattingEnabled };
System\Windows\Forms\ListControlTests.cs (21)
1582FormattingEnabled = value 1588control.FormattingEnabled = value; 1593control.FormattingEnabled = !value; 1604FormattingEnabled = true 1607control.FormattingEnabled = value; 1612control.FormattingEnabled = value; 1617control.FormattingEnabled = !value; 1630control.FormattingEnabled = true; 1635control.FormattingEnabled = true; 1640control.FormattingEnabled = false; 1659control.FormattingEnabled = true; 1664control.FormattingEnabled = true; 1669control.FormattingEnabled = false; 1675control.FormattingEnabled = true; 2401FormattingEnabled = true, 2443FormattingEnabled = false, 2476FormattingEnabled = true, 2493FormattingEnabled = false, 2510FormattingEnabled = true, 2526FormattingEnabled = true, 2543FormattingEnabled = true,
TrimTest (1)
Form1.Designer.cs (1)
79comboBox1.FormattingEnabled = true;
WinFormsControlsTest (21)
Calendar.Designer.cs (1)
141this.daysOfWeekComboBox.FormattingEnabled = true;
CollectionEditors.Designer.cs (1)
45this.comboBox1.FormattingEnabled = true;
ComboBoxes.Designer.cs (12)
55this.comboBox1.FormattingEnabled = true; 69this.comboBox2.FormattingEnabled = true; 87this.comboBox3.FormattingEnabled = true; 107this.comboBox4.FormattingEnabled = true; 121this.comboBox5.FormattingEnabled = true; 133this.comboBox6.FormattingEnabled = true; 145this.comboBox7.FormattingEnabled = true; 158this.comboBox8.FormattingEnabled = true; 171this.comboBox9.FormattingEnabled = true; 184this.comboBox10.FormattingEnabled = true; 196this.comboBox11.FormattingEnabled = true; 211this.comboBox12.FormattingEnabled = true;
ComboBoxesWithScrollBars.Designer.cs (3)
72this.comboBox1.FormattingEnabled = true; 84this.comboBox2.FormattingEnabled = true; 96this.comboBox3.FormattingEnabled = true;
MultipleControls.Designer.cs (3)
150this.comboBox1.FormattingEnabled = true; 226this.checkedListBox1.FormattingEnabled = true; 282this.checkedListBox2.FormattingEnabled = true;
ScrollableControls.Designer.cs (1)
426listBox1.FormattingEnabled = true;
26 references to FormattingEnabled
System.Windows.Forms (8)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (5)
755if (!FormattingEnabled) 1084if (FormattingEnabled) 2471if (FormattingEnabled) 2624if (!FormattingEnabled || SelectedIndex != -1) 3555if (FormattingEnabled && Text != _currentText && _dropDown)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
782if (FormattingEnabled) // We want to fire KeyPress only when FormattingEnabled (this is a whidbey property)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
1064if (FormattingEnabled) 1897if (!FormattingEnabled || SelectedIndex != -1)
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\ListBoxDesignerTests.cs (2)
137listBox.FormattingEnabled.Should().BeFalse(); 141listBox.FormattingEnabled.Should().BeTrue();
System.Windows.Forms.Tests (16)
System\Windows\Forms\ComboBoxTests.cs (1)
84Assert.False(control.FormattingEnabled);
System\Windows\Forms\ListBoxTests.cs (1)
76Assert.False(control.FormattingEnabled);
System\Windows\Forms\ListControlTests.cs (14)
72Assert.False(control.FormattingEnabled); 1584Assert.Equal(value, control.FormattingEnabled); 1589Assert.Equal(value, control.FormattingEnabled); 1594Assert.Equal(!value, control.FormattingEnabled); 1608Assert.Equal(value, control.FormattingEnabled); 1613Assert.Equal(value, control.FormattingEnabled); 1618Assert.Equal(!value, control.FormattingEnabled); 1631Assert.True(control.FormattingEnabled); 1636Assert.True(control.FormattingEnabled); 1641Assert.False(control.FormattingEnabled); 1660Assert.True(control.FormattingEnabled); 1665Assert.True(control.FormattingEnabled); 1670Assert.False(control.FormattingEnabled); 1676Assert.True(control.FormattingEnabled);