73 references to CanSelect
System.Windows.Forms (13)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
519=> (VARIANT)Owner.CanSelect,
System\Windows\Forms\ActiveX\AxHost.cs (1)
1737if (!CanSelect)
System\Windows\Forms\Control.cs (1)
9878if (ctl.CanSelect
System\Windows\Forms\Controls\Buttons\Button.cs (1)
269if (CanSelect)
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
520if (UseMnemonic && IsMnemonic(charCode, Text) && CanSelect)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (2)
491if (CanSelect) 504if (UseMnemonic && IsMnemonic(charCode, Text) && CanSelect)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
88public override bool CanSelect => _control is not null && (DesignMode || _control.CanSelect);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1272if (OwnerToolStrip.CanSelect)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
310if (!CanSelect)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
441if (ctl is not null && ctl.CanSelect && ctl.TabStop)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (2)
1863if (ctl.CanSelect && ctl.TabStop) 1946if (ctl.CanSelect && (!tabStopOnly || ctl.TabStop))
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
39Assert.False(control.CanSelect);
System.Windows.Forms.Tests (59)
System\Windows\Forms\AxHostTests.cs (2)
46Assert.False(control.CanSelect); 140Assert.False(control.CanSelect);
System\Windows\Forms\ButtonBaseTests.cs (1)
38Assert.True(control.CanSelect);
System\Windows\Forms\ButtonTests.cs (1)
40Assert.True(control.CanSelect);
System\Windows\Forms\CheckBoxTests.cs (1)
39Assert.True(control.CanSelect);
System\Windows\Forms\ComboBoxTests.cs (1)
43Assert.True(control.CanSelect);
System\Windows\Forms\ContainerControlTests.cs (1)
45Assert.True(control.CanSelect);
System\Windows\Forms\ControlTests.cs (5)
33Assert.True(control.CanSelect); 122Assert.True(control.CanSelect); 218Assert.True(control.CanSelect); 314Assert.True(control.CanSelect); 410Assert.True(control.CanSelect);
System\Windows\Forms\ControlTests.Properties.cs (4)
3068Assert.Equal(expected, control.CanSelect); 3087Assert.Equal(expected, control.CanSelect); 3103Assert.Equal(expected, control.CanSelect); 3123Assert.Equal(expected, control.CanSelect);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
42Assert.True(control.CanSelect);
System\Windows\Forms\DateTimePickerTests.cs (1)
46Assert.True(control.CanSelect);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
53Assert.False(control.CanSelect);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
40Assert.False(control.CanSelect);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
39Assert.False(control.CanSelect);
System\Windows\Forms\FormTests.cs (1)
51Assert.False(control.CanSelect);
System\Windows\Forms\GroupBoxTests.cs (1)
36Assert.False(control.CanSelect);
System\Windows\Forms\HScrollBarTests.cs (1)
36Assert.True(control.CanSelect);
System\Windows\Forms\LabelTests.cs (1)
36Assert.False(control.CanSelect);
System\Windows\Forms\ListBoxTests.cs (1)
37Assert.True(control.CanSelect);
System\Windows\Forms\ListControlTests.cs (1)
37Assert.True(control.CanSelect);
System\Windows\Forms\ListViewTests.cs (1)
44Assert.True(control.CanSelect);
System\Windows\Forms\MdiClientTests.cs (1)
33Assert.False(control.CanSelect);
System\Windows\Forms\MenuStripTests.cs (1)
40Assert.False(control.CanSelect);
System\Windows\Forms\MonthCalendarTests.cs (1)
45Assert.True(control.CanSelect);
System\Windows\Forms\PanelTests.cs (1)
40Assert.False(control.CanSelect);
System\Windows\Forms\PictureBoxTests.cs (1)
39Assert.False(control.CanSelect);
System\Windows\Forms\ProgressBarTests.cs (1)
35Assert.False(control.CanSelect);
System\Windows\Forms\PropertyGridTests.cs (1)
52Assert.True(control.CanSelect);
System\Windows\Forms\RadioButtonTests.cs (1)
39Assert.True(control.CanSelect);
System\Windows\Forms\RichTextBoxTests.cs (1)
49Assert.True(control.CanSelect);
System\Windows\Forms\ScrollableControlTests.cs (1)
39Assert.True(control.CanSelect);
System\Windows\Forms\ScrollBarTests.cs (1)
34Assert.True(control.CanSelect);
System\Windows\Forms\SplitterPanelTests.cs (1)
44Assert.False(control.CanSelect);
System\Windows\Forms\SplitterTests.cs (1)
35Assert.False(control.CanSelect);
System\Windows\Forms\StatusStripTests.cs (1)
40Assert.False(control.CanSelect);
System\Windows\Forms\TabControlTests.cs (1)
37Assert.True(control.CanSelect);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
41Assert.False(control.CanSelect);
System\Windows\Forms\TabPageTests.cs (2)
44Assert.False(control.CanSelect); 153Assert.False(control.CanSelect);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
42Assert.False(control.CanSelect);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
64Assert.Equal(c.CanSelect, item.CanSelect);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
44Assert.False(control.CanSelect);
System\Windows\Forms\ToolStripPanelTests.cs (1)
41Assert.False(control.CanSelect);
System\Windows\Forms\ToolStripTests.cs (2)
44Assert.False(control.CanSelect); 200Assert.False(control.CanSelect);
System\Windows\Forms\TreeViewTests.cs (1)
35Assert.True(control.CanSelect);
System\Windows\Forms\UserControlTests.cs (1)
45Assert.True(control.CanSelect);
System\Windows\Forms\VScrollBarTests.cs (1)
35Assert.True(control.CanSelect);
System\Windows\Forms\WebBrowserTests.cs (1)
36Assert.False(control.CanSelect);
TextBoxTests.cs (1)
41Assert.True(control.CanSelect);
TrackBarTests.cs (1)
36Assert.True(control.CanSelect);
WebBrowserBaseTests.cs (1)
242Assert.True(control.CanSelect);