201 writes to UseVisualStyleBackColor
Accessibility_Core_App (81)
CommonControl1.Designer.cs (13)
123
this.button12.
UseVisualStyleBackColor
= true;
134
this.button1.
UseVisualStyleBackColor
= true;
146
this.button10.
UseVisualStyleBackColor
= true;
156
this.button9.
UseVisualStyleBackColor
= true;
167
this.button8.
UseVisualStyleBackColor
= true;
178
this.button3.
UseVisualStyleBackColor
= false;
190
this.button4.
UseVisualStyleBackColor
= true;
202
this.button5.
UseVisualStyleBackColor
= true;
213
this.button2.
UseVisualStyleBackColor
= true;
224
this.button6.
UseVisualStyleBackColor
= true;
275
this.checkBox3.
UseVisualStyleBackColor
= true;
286
this.checkBox2.
UseVisualStyleBackColor
= true;
299
this.checkBox1.
UseVisualStyleBackColor
= true;
CommonControl2.Designer.cs (1)
118
this.radioButton1.
UseVisualStyleBackColor
= true;
ContainerControls.Designer.cs (30)
142
this.button2.
UseVisualStyleBackColor
= true;
152
this.button5.
UseVisualStyleBackColor
= true;
162
this.button6.
UseVisualStyleBackColor
= true;
214
this.button7.
UseVisualStyleBackColor
= true;
237
this.button8.
UseVisualStyleBackColor
= true;
260
this.button9.
UseVisualStyleBackColor
= true;
283
this.button10.
UseVisualStyleBackColor
= true;
313
this.radioButton6.
UseVisualStyleBackColor
= true;
323
this.radioButton5.
UseVisualStyleBackColor
= true;
333
this.radioButton4.
UseVisualStyleBackColor
= true;
345
this.checkBox2.
UseVisualStyleBackColor
= true;
357
this.radioButton3.
UseVisualStyleBackColor
= true;
367
this.radioButton2.
UseVisualStyleBackColor
= true;
376
this.button18.
UseVisualStyleBackColor
= true;
385
this.button17.
UseVisualStyleBackColor
= true;
395
this.radioButton1.
UseVisualStyleBackColor
= true;
405
this.checkBox1.
UseVisualStyleBackColor
= true;
448
this.button19.
UseVisualStyleBackColor
= true;
494
this.button20.
UseVisualStyleBackColor
= true;
516
this.button21.
UseVisualStyleBackColor
= true;
540
this.button4.
UseVisualStyleBackColor
= true;
550
this.button1.
UseVisualStyleBackColor
= true;
560
this.button3.
UseVisualStyleBackColor
= true;
624
this.button12.
UseVisualStyleBackColor
= true;
678
this.button11.
UseVisualStyleBackColor
= true;
700
this.button13.
UseVisualStyleBackColor
= true;
723
this.button14.
UseVisualStyleBackColor
= true;
733
this.button22.
UseVisualStyleBackColor
= true;
743
this.button23.
UseVisualStyleBackColor
= true;
796
this.button24.
UseVisualStyleBackColor
= true;
ContainerControls2.Designer.cs (12)
113
this.button15.
UseVisualStyleBackColor
= true;
123
this.button16.
UseVisualStyleBackColor
= true;
164
this.radioButton6.
UseVisualStyleBackColor
= true;
174
this.radioButton5.
UseVisualStyleBackColor
= true;
184
this.radioButton4.
UseVisualStyleBackColor
= true;
196
this.checkBox2.
UseVisualStyleBackColor
= true;
208
this.radioButton3.
UseVisualStyleBackColor
= true;
218
this.radioButton2.
UseVisualStyleBackColor
= true;
227
this.button18.
UseVisualStyleBackColor
= true;
236
this.button17.
UseVisualStyleBackColor
= true;
246
this.radioButton1.
UseVisualStyleBackColor
= true;
256
this.checkBox1.
UseVisualStyleBackColor
= true;
DataBindingExample.Designer.cs (3)
105
this.button1.
UseVisualStyleBackColor
= true;
138
this.radioButton1.
UseVisualStyleBackColor
= true;
180
this.checkBox1.
UseVisualStyleBackColor
= true;
DialogControls.Designer.cs (4)
44
this.ColorDialog.
UseVisualStyleBackColor
= true;
55
this.FolderBrowserDialog.
UseVisualStyleBackColor
= true;
66
this.OpenFileDialog.
UseVisualStyleBackColor
= true;
77
this.SaveFileDialog.
UseVisualStyleBackColor
= true;
Main.Designer.cs (11)
53
this.button1.
UseVisualStyleBackColor
= true;
64
this.button2.
UseVisualStyleBackColor
= true;
75
this.button3.
UseVisualStyleBackColor
= true;
86
this.button4.
UseVisualStyleBackColor
= true;
97
this.button5.
UseVisualStyleBackColor
= true;
108
this.button6.
UseVisualStyleBackColor
= true;
119
this.button7.
UseVisualStyleBackColor
= true;
130
this.button8.
UseVisualStyleBackColor
= true;
141
this.button9.
UseVisualStyleBackColor
= true;
151
this.button10.
UseVisualStyleBackColor
= true;
161
this.button12.
UseVisualStyleBackColor
= true;
MenuForm.Designer.cs (2)
43
this.button1.
UseVisualStyleBackColor
= true;
54
this.button2.
UseVisualStyleBackColor
= true;
PrintingControls.Designer.cs (4)
97
this.btnSetting.
UseVisualStyleBackColor
= true;
108
this.btnPreView.
UseVisualStyleBackColor
= true;
119
this.btnPrint.
UseVisualStyleBackColor
= true;
130
this.button1.
UseVisualStyleBackColor
= true;
ToolStripContainer.Designer.cs (1)
587
this.button1.
UseVisualStyleBackColor
= true;
NativeHost.ManagedControl (1)
ManagedControl.Designer.cs (1)
43
this.button1.
UseVisualStyleBackColor
= true;
PresentationUI (7)
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (2)
192
_nextButton.
UseVisualStyleBackColor
= true;
201
_cancelButton.
UseVisualStyleBackColor
= true;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (2)
79
this._nextButton.
UseVisualStyleBackColor
= true;
88
this._cancelButton.
UseVisualStyleBackColor
= true;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (3)
95
this.radioButtonUnrestricted.
UseVisualStyleBackColor
= true;
104
this.radioButtonPermissions.
UseVisualStyleBackColor
= true;
113
this.radioButtonTemplate.
UseVisualStyleBackColor
= true;
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
174
UseVisualStyleBackColor
= false;
System.Windows.Forms.Tests (21)
System\Windows\Forms\ButtonBaseTests.cs (21)
524
UseVisualStyleBackColor
= true,
570
UseVisualStyleBackColor
= false,
616
UseVisualStyleBackColor
= true,
662
UseVisualStyleBackColor
= true
4158
UseVisualStyleBackColor
= value
4164
control.
UseVisualStyleBackColor
= value;
4169
control.
UseVisualStyleBackColor
= !value;
4180
UseVisualStyleBackColor
= true
4183
control.
UseVisualStyleBackColor
= value;
4188
control.
UseVisualStyleBackColor
= value;
4193
control.
UseVisualStyleBackColor
= !value;
4212
control.
UseVisualStyleBackColor
= value;
4220
control.
UseVisualStyleBackColor
= value;
4228
control.
UseVisualStyleBackColor
= !value;
4243
UseVisualStyleBackColor
= true
4253
control.
UseVisualStyleBackColor
= value;
4261
control.
UseVisualStyleBackColor
= value;
4269
control.
UseVisualStyleBackColor
= !value;
4284
control.
UseVisualStyleBackColor
= false;
4302
control.
UseVisualStyleBackColor
= false;
4329
control.
UseVisualStyleBackColor
= false;
TrimTest (1)
Form1.Designer.cs (1)
93
button1.
UseVisualStyleBackColor
= true;
WinFormsControlsTest (89)
AnchorLayoutTests.Designer.cs (9)
52
this.button1.
UseVisualStyleBackColor
= true;
62
this.button2.
UseVisualStyleBackColor
= true;
72
this.button3.
UseVisualStyleBackColor
= true;
82
this.button4.
UseVisualStyleBackColor
= true;
92
this.button5.
UseVisualStyleBackColor
= true;
104
this.button6.
UseVisualStyleBackColor
= true;
114
this.button7.
UseVisualStyleBackColor
= true;
124
this.button8.
UseVisualStyleBackColor
= true;
134
this.button9.
UseVisualStyleBackColor
= true;
Calendar.Designer.cs (6)
86
this.setMinDateButton.
UseVisualStyleBackColor
= true;
117
this.setMaxDateButton.
UseVisualStyleBackColor
= true;
174
this.resetMinDateButton.
UseVisualStyleBackColor
= true;
185
this.resetMaxDateButton.
UseVisualStyleBackColor
= true;
197
this.showWeekNumbersCheckBox.
UseVisualStyleBackColor
= true;
209
this.showTodayCheckBox.
UseVisualStyleBackColor
= true;
ComboBoxesWithScrollBars.Designer.cs (6)
272
this.integralHeightCheckBox1.
UseVisualStyleBackColor
= true;
283
this.integralHeightCheckBox2.
UseVisualStyleBackColor
= true;
294
this.integralHeightCheckBox3.
UseVisualStyleBackColor
= true;
319
this.useDifferentHeightsCheckBox1.
UseVisualStyleBackColor
= true;
330
this.useDifferentHeightsCheckBox2.
UseVisualStyleBackColor
= true;
343
this.useDifferentHeightsCheckBox3.
UseVisualStyleBackColor
= true;
DataGridViewTest.Designer.cs (2)
154
this.changeFontButton.
UseVisualStyleBackColor
= true;
202
this.resetFontButton.
UseVisualStyleBackColor
= true;
DesignTimeAligned.Designer.cs (1)
72
this.button1.
UseVisualStyleBackColor
= true;
Dialogs.Designer.cs (6)
68
this.btnOpenFileDialog.
UseVisualStyleBackColor
= true;
78
this.btnColorDialog.
UseVisualStyleBackColor
= true;
88
this.btnThreadExceptionDialog.
UseVisualStyleBackColor
= true;
98
this.btnPrintDialog.
UseVisualStyleBackColor
= true;
108
this.btnFolderBrowserDialog.
UseVisualStyleBackColor
= true;
118
this.btnSaveFileDialog.
UseVisualStyleBackColor
= true;
DockLayoutTests.Designer.cs (5)
51
this.button1.
UseVisualStyleBackColor
= true;
61
this.button3.
UseVisualStyleBackColor
= true;
71
this.button2.
UseVisualStyleBackColor
= true;
81
this.button4.
UseVisualStyleBackColor
= true;
91
this.button5.
UseVisualStyleBackColor
= true;
DragDrop.Designer.cs (2)
183
buttonOpenCats.
UseVisualStyleBackColor
= true;
193
buttonClear.
UseVisualStyleBackColor
= true;
ErrorProviderTest.Designer.cs (1)
123
this.submitButton.
UseVisualStyleBackColor
= true;
FormBorderStyles.Designer.cs (1)
42
this.btnChangeFormBorderStyle.
UseVisualStyleBackColor
= true;
ListViewTest.Designer.cs (3)
114
this.btnClearListView1.
UseVisualStyleBackColor
= true;
124
this.btnLoadImagesListView1.
UseVisualStyleBackColor
= true;
146
this.btnReplaceImageListView1.
UseVisualStyleBackColor
= true;
MainForm.cs (1)
34
UseVisualStyleBackColor
= true
MdiChild.Designer.cs (7)
69
this.chkChildAlign.
UseVisualStyleBackColor
= true;
80
this.chkRightToLeft.
UseVisualStyleBackColor
= true;
91
this.btnOpenChild.
UseVisualStyleBackColor
= true;
102
this.chkSetParentMenustrip.
UseVisualStyleBackColor
= true;
113
this.chkSetMenustrip.
UseVisualStyleBackColor
= true;
124
this.chkAddParentMenustrip.
UseVisualStyleBackColor
= true;
135
this.chkAddMenustrip.
UseVisualStyleBackColor
= true;
MultipleControls.Designer.cs (5)
84
this.button1.
UseVisualStyleBackColor
= true;
176
this.checkBox1.
UseVisualStyleBackColor
= true;
187
this.checkBox2.
UseVisualStyleBackColor
= true;
197
this.radioButton2.
UseVisualStyleBackColor
= true;
207
this.radioButton1.
UseVisualStyleBackColor
= true;
Password.Designer.cs (1)
133
button1.
UseVisualStyleBackColor
= true;
PictureBoxes.Designer.cs (1)
64
this.btnloadImage.
UseVisualStyleBackColor
= true;
ScalingBeforeChanges.Designer.cs (1)
45
this.checkBox1.
UseVisualStyleBackColor
= true;
ScrollableControls.Designer.cs (17)
109
button1.
UseVisualStyleBackColor
= true;
118
button2.
UseVisualStyleBackColor
= true;
127
button3.
UseVisualStyleBackColor
= true;
136
button4.
UseVisualStyleBackColor
= true;
145
button5.
UseVisualStyleBackColor
= true;
176
button9.
UseVisualStyleBackColor
= true;
185
button8.
UseVisualStyleBackColor
= true;
194
button7.
UseVisualStyleBackColor
= true;
203
button6.
UseVisualStyleBackColor
= true;
245
button16.
UseVisualStyleBackColor
= true;
254
button15.
UseVisualStyleBackColor
= true;
263
button10.
UseVisualStyleBackColor
= true;
272
button14.
UseVisualStyleBackColor
= true;
281
button13.
UseVisualStyleBackColor
= true;
290
button12.
UseVisualStyleBackColor
= true;
299
button11.
UseVisualStyleBackColor
= true;
339
button17.
UseVisualStyleBackColor
= true;
ScrollBars.Designer.cs (1)
94
this.chbRightToLeft.
UseVisualStyleBackColor
= true;
ToolStripSeparatorPreferredSize.cs (1)
75
_buttonChangeOrientation.
UseVisualStyleBackColor
= true;
ToolTipTests.Designer.cs (7)
58
this.delaysNotSetButton.
UseVisualStyleBackColor
= true;
69
this.automaticDelayButton.
UseVisualStyleBackColor
= true;
80
this.autoPopDelayButton.
UseVisualStyleBackColor
= true;
106
this.defaultAutomaticDelayButton.
UseVisualStyleBackColor
= true;
117
this.defaultAutoPopDelayButton.
UseVisualStyleBackColor
= true;
128
this.initialDelayButton.
UseVisualStyleBackColor
= true;
139
this.autoEllipsisButton.
UseVisualStyleBackColor
= true;
TrackBars.Designer.cs (5)
79
this.rbHorizontal.
UseVisualStyleBackColor
= true;
91
this.rbVertical.
UseVisualStyleBackColor
= true;
116
this.chbRightToLeft.
UseVisualStyleBackColor
= true;
128
this.chbRightToLeftLayout.
UseVisualStyleBackColor
= true;
140
this.tickstyleNone.
UseVisualStyleBackColor
= true;
36 references to UseVisualStyleBackColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
70
if (!Control.
UseVisualStyleBackColor
)
System.Windows.Forms.Tests (35)
System\Windows\Forms\ButtonBaseTests.cs (32)
117
Assert.True(control.
UseVisualStyleBackColor
);
510
Assert.False(control.
UseVisualStyleBackColor
);
515
Assert.False(control.
UseVisualStyleBackColor
);
528
Assert.False(control.
UseVisualStyleBackColor
);
534
Assert.False(control.
UseVisualStyleBackColor
);
574
Assert.False(control.
UseVisualStyleBackColor
);
580
Assert.False(control.
UseVisualStyleBackColor
);
620
Assert.Equal(value.IsEmpty, control.
UseVisualStyleBackColor
);
626
Assert.Equal(value.IsEmpty, control.
UseVisualStyleBackColor
);
682
Assert.True(control.
UseVisualStyleBackColor
);
688
Assert.True(control.
UseVisualStyleBackColor
);
4160
Assert.Equal(value, control.
UseVisualStyleBackColor
);
4165
Assert.Equal(value, control.
UseVisualStyleBackColor
);
4170
Assert.Equal(!value, control.
UseVisualStyleBackColor
);
4184
Assert.Equal(value, control.
UseVisualStyleBackColor
);
4189
Assert.Equal(value, control.
UseVisualStyleBackColor
);
4194
Assert.Equal(!value, control.
UseVisualStyleBackColor
);
4213
Assert.Equal(value, control.
UseVisualStyleBackColor
);
4221
Assert.Equal(value, control.
UseVisualStyleBackColor
);
4229
Assert.Equal(!value, control.
UseVisualStyleBackColor
);
4254
Assert.Equal(value, control.
UseVisualStyleBackColor
);
4262
Assert.Equal(value, control.
UseVisualStyleBackColor
);
4270
Assert.Equal(!value, control.
UseVisualStyleBackColor
);
4280
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ButtonBase))[nameof(ButtonBase.
UseVisualStyleBackColor
)];
4285
Assert.False(control.
UseVisualStyleBackColor
);
4290
Assert.True(control.
UseVisualStyleBackColor
);
4298
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ButtonBase))[nameof(ButtonBase.
UseVisualStyleBackColor
)];
4303
Assert.False(control.
UseVisualStyleBackColor
);
4314
Assert.True(control.
UseVisualStyleBackColor
);
4325
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ButtonBase))[nameof(ButtonBase.
UseVisualStyleBackColor
)];
4330
Assert.False(control.
UseVisualStyleBackColor
);
4334
Assert.True(control.
UseVisualStyleBackColor
);
System\Windows\Forms\ButtonTests.cs (1)
115
Assert.True(control.
UseVisualStyleBackColor
);
System\Windows\Forms\CheckBoxTests.cs (1)
118
Assert.True(control.
UseVisualStyleBackColor
);
System\Windows\Forms\RadioButtonTests.cs (1)
115
Assert.True(control.
UseVisualStyleBackColor
);