99 references to UserMouse
System.Windows.Forms (11)
System\Windows\Forms\Control.cs (3)
11355if (!GetStyle(ControlStyles.UserMouse)) 11511if (!GetStyle(ControlStyles.UserMouse)) 11530if (!GetStyle(ControlStyles.UserMouse))
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
79SetStyle(ControlStyles.UserMouse | ControlStyles.UserPaint, OwnerDraw); 1242SetStyle(ControlStyles.UserMouse | ControlStyles.UserPaint, OwnerDraw);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
386ControlStyles.UserMouse, true);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
202ControlStyles.UserMouse, OwnerDraw);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
136SetStyle(ControlStyles.UserMouse, true);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (3)
3500bool oldStyle = GetStyle(ControlStyles.UserMouse); 3501SetStyle(ControlStyles.UserMouse, true); 3503SetStyle(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)
1064Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1072Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1106Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1114Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1160Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1170Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1214Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1224Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1273Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1283Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1339Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1352Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 5069[InlineData(ControlStyles.UserMouse, true)] 8876control.SetStyle(ControlStyles.UserMouse, userMouse); 8911control.SetStyle(ControlStyles.UserMouse, userMouse); 8974control.SetStyle(ControlStyles.UserMouse, userMouse); 9017control.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)
1461[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)] 13471control.SetStyle(ControlStyles.UserMouse, userMouse); 13506control.SetStyle(ControlStyles.UserMouse, userMouse); 13573control.SetStyle(ControlStyles.UserMouse, userMouse); 13616control.SetStyle(ControlStyles.UserMouse, userMouse); 13806control.SetStyle(ControlStyles.UserMouse, userMouse); 13841control.SetStyle(ControlStyles.UserMouse, userMouse); 13904control.SetStyle(ControlStyles.UserMouse, userMouse); 13947control.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)
633Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 643Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 678Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 687Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 720Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 733Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 774Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 787Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 837Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 850Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 901Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 914Assert.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)] 7259control.SetStyle(ControlStyles.UserMouse, userMouse); 7294control.SetStyle(ControlStyles.UserMouse, userMouse); 7361control.SetStyle(ControlStyles.UserMouse, userMouse); 7404control.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)]