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