22 writes to FlatStyle
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1301comboBox.FlatStyle = FlatStyle;
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (2)
47FlatStyle = FlatStyle.Popup, 188set { ComboBox.FlatStyle = value; }
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
12FlatStyle = FlatStyle.Popup;
System.Windows.Forms.Tests (8)
System\Windows\Forms\ComboBoxTests.cs (8)
1801FlatStyle = flatStyle 1827FlatStyle = flatStyle, 1876FlatStyle = flatStyle 1909FlatStyle = flatStyle, 1974FlatStyle = flatStyle 2011FlatStyle = flatStyle, 2071FlatStyle = flatStyle 2115FlatStyle = flatStyle,
WinFormsControlsTest (10)
ComboBoxes.Designer.cs (10)
54this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; 68this.comboBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; 120this.comboBox5.FlatStyle = System.Windows.Forms.FlatStyle.Popup; 132this.comboBox6.FlatStyle = System.Windows.Forms.FlatStyle.Popup; 144this.comboBox7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; 157this.comboBox8.FlatStyle = System.Windows.Forms.FlatStyle.Flat; 170this.comboBox9.FlatStyle = System.Windows.Forms.FlatStyle.Flat; 183this.comboBox10.FlatStyle = System.Windows.Forms.FlatStyle.Popup; 210this.comboBox12.FlatStyle = System.Windows.Forms.FlatStyle.System; 230this.dataBoundComboBox.FlatStyle = System.Windows.Forms.FlatStyle.System;
14 references to FlatStyle
System.Windows.Forms (13)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (11)
718if ((!ContainsFocus || !Application.RenderWithVisualStyles) && FlatStyle == FlatStyle.Popup) 1518if (FlatStyle == FlatStyle.Popup) 1562if (FlatStyle == FlatStyle.Popup) 3664&& (FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup)) 3733&& (FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup) 3778if (!GetStyle(ControlStyles.UserPaint) && (FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup)) 3784if (!GetStyle(ControlStyles.UserPaint) && (FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup))
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (1)
112if ((!comboBox.Enabled) || (comboBox.FlatStyle == FlatStyle.Popup))
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
187get { return ComboBox.FlatStyle; }
System.Windows.Forms.Tests (1)
System\Windows\Forms\ComboBoxTests.cs (1)
77Assert.Equal(FlatStyle.Standard, control.FlatStyle);