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