27 writes to CausesValidation
System.Windows.Forms (9)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
2474
dgv.EditingControl.
CausesValidation
= dgv.CausesValidation;
2475
dgv.EditingPanel.
CausesValidation
= dgv.CausesValidation;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
183
set => base.
CausesValidation
= value;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
168
set => base.
CausesValidation
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
456
set => base.
CausesValidation
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
183
set => base.
CausesValidation
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
125
set => base.
CausesValidation
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
96
set => ControlInternal.
CausesValidation
= value;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
366
set => base.
CausesValidation
= value;
System.Windows.Forms.Tests (18)
System\Windows\Forms\ContainerControlTests.cs (2)
819
CausesValidation
= false
1045
CausesValidation
= false
System\Windows\Forms\ControlTests.Properties.cs (11)
3191
CausesValidation
= value
3197
control.
CausesValidation
= value;
3202
control.
CausesValidation
= !value;
3220
control.
CausesValidation
= value;
3228
control.
CausesValidation
= value;
3236
control.
CausesValidation
= !value;
3249
CausesValidation
= true
3261
control.
CausesValidation
= false;
3266
control.
CausesValidation
= false;
3271
control.
CausesValidation
= true;
3277
control.
CausesValidation
= false;
System\Windows\Forms\ToolStripControlHostTests.cs (3)
31
CausesValidation
= false,
581
c.
CausesValidation
= false;
585
c.
CausesValidation
= true;
System\Windows\Forms\UserControlTests.cs (2)
1285
CausesValidation
= false
1511
CausesValidation
= false
82 references to CausesValidation
System.Windows.Forms (15)
System\Windows\Forms\Control.cs (3)
1085
if (value !=
CausesValidation
)
1391
if (GetContainerControl() is not ContainerControl container || !
CausesValidation
)
8428
if (!
CausesValidation
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
2474
dgv.EditingControl.CausesValidation = dgv.
CausesValidation
;
2475
dgv.EditingPanel.CausesValidation = dgv.
CausesValidation
;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
182
get => base.
CausesValidation
;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
167
get => base.
CausesValidation
;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
454
return base.
CausesValidation
;
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
182
get => base.
CausesValidation
;
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
124
get => base.
CausesValidation
;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
95
get => ControlInternal.
CausesValidation
;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (3)
1743
if (!enterControl.
CausesValidation
)
1800
(_activeControl is not null && _activeControl.
CausesValidation
))
1804
if (_focusedControl is ContainerControl control && _focusedControl.
CausesValidation
)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
365
get => base.
CausesValidation
;
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
41
Assert.True(control.
CausesValidation
);
System.Windows.Forms.Tests (65)
System\Windows\Forms\AxHostTests.cs (2)
48
Assert.True(control.
CausesValidation
);
142
Assert.True(control.
CausesValidation
);
System\Windows\Forms\ButtonBaseTests.cs (1)
40
Assert.True(control.
CausesValidation
);
System\Windows\Forms\ButtonTests.cs (1)
42
Assert.True(control.
CausesValidation
);
System\Windows\Forms\CheckBoxTests.cs (1)
41
Assert.True(control.
CausesValidation
);
System\Windows\Forms\ComboBoxTests.cs (1)
45
Assert.True(control.
CausesValidation
);
System\Windows\Forms\ContainerControlTests.cs (1)
47
Assert.True(control.
CausesValidation
);
System\Windows\Forms\ControlTests.cs (5)
35
Assert.True(control.
CausesValidation
);
124
Assert.True(control.
CausesValidation
);
220
Assert.True(control.
CausesValidation
);
316
Assert.True(control.
CausesValidation
);
412
Assert.True(control.
CausesValidation
);
System\Windows\Forms\ControlTests.Properties.cs (10)
3193
Assert.Equal(value, control.
CausesValidation
);
3198
Assert.Equal(value, control.
CausesValidation
);
3203
Assert.Equal(!value, control.
CausesValidation
);
3221
Assert.Equal(value, control.
CausesValidation
);
3229
Assert.Equal(value, control.
CausesValidation
);
3237
Assert.Equal(!value, control.
CausesValidation
);
3262
Assert.False(control.
CausesValidation
);
3267
Assert.False(control.
CausesValidation
);
3272
Assert.True(control.
CausesValidation
);
3278
Assert.False(control.
CausesValidation
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
45
Assert.True(control.
CausesValidation
);
System\Windows\Forms\DateTimePickerTests.cs (1)
48
Assert.True(control.
CausesValidation
);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
55
Assert.True(control.
CausesValidation
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
42
Assert.True(control.
CausesValidation
);
System\Windows\Forms\DomainUpDownTests.cs (1)
53
_sub.
CausesValidation
.Should().BeTrue();
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
41
Assert.True(control.
CausesValidation
);
System\Windows\Forms\FormTests.cs (1)
53
Assert.True(control.
CausesValidation
);
System\Windows\Forms\GroupBoxTests.cs (1)
38
Assert.True(control.
CausesValidation
);
System\Windows\Forms\HScrollBarTests.cs (1)
38
Assert.True(control.
CausesValidation
);
System\Windows\Forms\LabelTests.cs (1)
38
Assert.True(control.
CausesValidation
);
System\Windows\Forms\ListBoxTests.cs (1)
39
Assert.True(control.
CausesValidation
);
System\Windows\Forms\ListControlTests.cs (1)
39
Assert.True(control.
CausesValidation
);
System\Windows\Forms\ListViewTests.cs (1)
46
Assert.True(control.
CausesValidation
);
System\Windows\Forms\MdiClientTests.cs (1)
35
Assert.True(control.
CausesValidation
);
System\Windows\Forms\MonthCalendarTests.cs (1)
47
Assert.True(control.
CausesValidation
);
System\Windows\Forms\PanelTests.cs (1)
42
Assert.True(control.
CausesValidation
);
System\Windows\Forms\PropertyGridTests.cs (1)
58
Assert.True(control.
CausesValidation
);
System\Windows\Forms\RadioButtonTests.cs (1)
41
Assert.True(control.
CausesValidation
);
System\Windows\Forms\RichTextBoxTests.cs (1)
52
Assert.True(control.
CausesValidation
);
System\Windows\Forms\ScrollableControlTests.cs (1)
41
Assert.True(control.
CausesValidation
);
System\Windows\Forms\ScrollBarTests.cs (1)
36
Assert.True(control.
CausesValidation
);
System\Windows\Forms\SplitterPanelTests.cs (1)
46
Assert.True(control.
CausesValidation
);
System\Windows\Forms\SplitterTests.cs (1)
37
Assert.True(control.
CausesValidation
);
System\Windows\Forms\TabControlTests.cs (1)
39
Assert.True(control.
CausesValidation
);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
43
Assert.True(control.
CausesValidation
);
System\Windows\Forms\TabPageTests.cs (4)
46
Assert.True(control.
CausesValidation
);
51
Assert.True(control.
CausesValidation
);
155
Assert.True(control.
CausesValidation
);
160
Assert.True(control.
CausesValidation
);
System\Windows\Forms\ToolStripControlHostTests.cs (6)
66
Assert.Equal(c.
CausesValidation
, item.CausesValidation);
522
Assert.Equal(value, c.
CausesValidation
);
528
Assert.Equal(value, c.
CausesValidation
);
534
Assert.Equal(!value, c.
CausesValidation
);
582
Assert.False(c.
CausesValidation
);
586
Assert.True(c.
CausesValidation
);
System\Windows\Forms\ToolStripPanelTests.cs (1)
43
Assert.True(control.
CausesValidation
);
System\Windows\Forms\TreeViewTests.cs (1)
37
Assert.True(control.
CausesValidation
);
System\Windows\Forms\UpDownBaseTests.cs (1)
40
Assert.True(control.
CausesValidation
);
System\Windows\Forms\UserControlTests.cs (1)
47
Assert.True(control.
CausesValidation
);
System\Windows\Forms\VScrollBarTests.cs (1)
37
Assert.True(control.
CausesValidation
);
System\Windows\Forms\WebBrowserTests.cs (1)
37
Assert.True(control.
CausesValidation
);
TextBoxTests.cs (1)
44
Assert.True(control.
CausesValidation
);
TrackBarTests.cs (1)
38
Assert.True(control.
CausesValidation
);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
979
OnPropertyChanged("CausesValidation", this.
CausesValidation
);