99 references to UserMouse
System.Windows.Forms (11)
System\Windows\Forms\Control.cs (3)
11360
if (!GetStyle(ControlStyles.
UserMouse
))
11516
if (!GetStyle(ControlStyles.
UserMouse
))
11535
if (!GetStyle(ControlStyles.
UserMouse
))
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
79
SetStyle(ControlStyles.
UserMouse
| ControlStyles.UserPaint, OwnerDraw);
1242
SetStyle(ControlStyles.
UserMouse
| ControlStyles.UserPaint, OwnerDraw);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
386
ControlStyles.
UserMouse
, true);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
202
ControlStyles.
UserMouse
, OwnerDraw);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
136
SetStyle(ControlStyles.
UserMouse
, true);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (3)
3500
bool oldStyle = GetStyle(ControlStyles.
UserMouse
);
3501
SetStyle(ControlStyles.
UserMouse
, true);
3503
SetStyle(ControlStyles.
UserMouse
, oldStyle);
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
199
[InlineData(ControlStyles.
UserMouse
, false)]
System.Windows.Forms.Tests (87)
System\Windows\Forms\ButtonBaseTests.cs (17)
1064
Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.
UserMouse
));
1072
Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.
UserMouse
));
1106
Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.
UserMouse
));
1114
Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.
UserMouse
));
1160
Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.
UserMouse
));
1170
Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.
UserMouse
));
1214
Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.
UserMouse
));
1224
Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.
UserMouse
));
1273
Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.
UserMouse
));
1283
Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.
UserMouse
));
1339
Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.
UserMouse
));
1352
Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.
UserMouse
));
5069
[InlineData(ControlStyles.
UserMouse
, true)]
8876
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
8911
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
8974
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
9017
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
System\Windows\Forms\ButtonTests.cs (1)
1775
[InlineData(ControlStyles.
UserMouse
, true)]
System\Windows\Forms\CheckBoxTests.cs (1)
503
[InlineData(ControlStyles.
UserMouse
, true)]
System\Windows\Forms\ComboBoxTests.cs (1)
1462
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\ContainerControlTests.cs (1)
519
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\ControlTests.Methods.cs (9)
2863
[InlineData(ControlStyles.
UserMouse
, false)]
13471
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
13506
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
13573
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
13616
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
13806
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
13841
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
13904
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
13947
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
1106
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\DateTimePickerTests.cs (1)
869
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
222
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
684
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\DomainUpDownTests.cs (1)
1072
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
286
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\FormTests.cs (1)
2437
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\GroupBoxTests.cs (13)
633
Assert.Equal(userMouse, control.GetStyle(ControlStyles.
UserMouse
));
643
Assert.Equal(userMouse, control.GetStyle(ControlStyles.
UserMouse
));
678
Assert.Equal(userMouse, control.GetStyle(ControlStyles.
UserMouse
));
687
Assert.Equal(userMouse, control.GetStyle(ControlStyles.
UserMouse
));
720
Assert.Equal(userMouse, control.GetStyle(ControlStyles.
UserMouse
));
733
Assert.Equal(userMouse, control.GetStyle(ControlStyles.
UserMouse
));
774
Assert.Equal(userMouse, control.GetStyle(ControlStyles.
UserMouse
));
787
Assert.Equal(userMouse, control.GetStyle(ControlStyles.
UserMouse
));
837
Assert.Equal(userMouse, control.GetStyle(ControlStyles.
UserMouse
));
850
Assert.Equal(userMouse, control.GetStyle(ControlStyles.
UserMouse
));
901
Assert.Equal(userMouse, control.GetStyle(ControlStyles.
UserMouse
));
914
Assert.Equal(userMouse, control.GetStyle(ControlStyles.
UserMouse
));
1421
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\HScrollBarTests.cs (1)
216
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\LabelTests.cs (1)
153
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\ListBoxTests.cs (1)
4905
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\ListControlTests.cs (1)
2570
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\ListViewTests.cs (1)
4262
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\MenuStripTests.cs (1)
519
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\MonthCalendarTests.cs (1)
3331
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\PanelTests.cs (1)
860
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\PictureBoxTests.cs (1)
1876
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\ProgressBarTests.cs (1)
1805
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\PropertyGridTests.cs (1)
3481
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\RadioButtonTests.cs (1)
630
[InlineData(ControlStyles.
UserMouse
, true)]
System\Windows\Forms\RichTextBoxTests.cs (1)
8978
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\ScrollableControlTests.cs (1)
1357
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\ScrollBarTests.cs (1)
1869
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\SplitterTests.cs (1)
1648
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\StatusStripTests.cs (1)
1104
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\TabControlTests.cs (1)
3937
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\TableLayoutPanelTests.cs (1)
1176
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\TabPageTests.cs (1)
3782
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1680
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3651
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\ToolStripPanelTests.cs (1)
314
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\ToolStripTests.cs (1)
4929
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\TreeViewTests.cs (1)
5052
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\UpDownBaseTests.cs (1)
1689
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\UserControlTests.cs (1)
904
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\VScrollBarTests.cs (1)
206
[InlineData(ControlStyles.
UserMouse
, false)]
System\Windows\Forms\WebBrowserTests.cs (1)
2823
[InlineData(ControlStyles.
UserMouse
, false)]
TextBoxBaseTests.cs (5)
5149
[InlineData(ControlStyles.
UserMouse
, false)]
7259
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
7294
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
7361
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
7404
control.SetStyle(ControlStyles.
UserMouse
, userMouse);
TextBoxTests.cs (1)
502
[InlineData(ControlStyles.
UserMouse
, false)]
TrackBarTests.cs (1)
2280
[InlineData(ControlStyles.
UserMouse
, false)]
WebBrowserBaseTests.cs (1)
771
[InlineData(ControlStyles.
UserMouse
, false)]