4 writes to ValidationCancelled
System.Windows.Forms (4)
winforms\Managed\System\WinForms\ContainerControl.cs (3)
1798
currentActiveControl.
ValidationCancelled
= false;
1838
currentActiveContainerControl.focusedControl.
ValidationCancelled
= true;
1863
children[i].
ValidationCancelled
= false;
winforms\Managed\System\WinForms\Control.cs (1)
1915
this.
ValidationCancelled
= ev.Cancel ;
39 references to ValidationCancelled
System.Windows.Forms (39)
winforms\Managed\System\WinForms\Button.cs (3)
306
if (UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle && !
ValidationCancelled
) {
350
if (!
ValidationCancelled
&& (validate || validatedControlAllowsFocusChange))
407
if (!
ValidationCancelled
) {
winforms\Managed\System\WinForms\ButtonBase.cs (2)
1100
if (GetFlag(FlagMouseDown) && !
ValidationCancelled
) {
1323
if (NativeMethods.Util.HIWORD(m.WParam) == NativeMethods.BN_CLICKED && !
ValidationCancelled
) {
winforms\Managed\System\WinForms\CheckBox.cs (2)
651
if (!
ValidationCancelled
) {
687
if (!
ValidationCancelled
) {
winforms\Managed\System\WinForms\ComboBox.cs (2)
1848
if (mouseEvents && !
ValidationCancelled
) {
3735
if (mouseEvents && !
ValidationCancelled
) {
winforms\Managed\System\WinForms\Control.cs (2)
1971
return parent.
ValidationCancelled
;
13515
if (fireClick && !
ValidationCancelled
) {
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1689
if (!
ValidationCancelled
) {
winforms\Managed\System\WinForms\Form.cs (1)
401
if (!
ValidationCancelled
) {
winforms\Managed\System\WinForms\ListBox.cs (2)
2420
if (!doubleClickFired && !
ValidationCancelled
) {
2429
if (!
ValidationCancelled
) {
winforms\Managed\System\WinForms\ListView.cs (3)
5424
if (!
ValidationCancelled
) {
5977
if (!
ValidationCancelled
&& displayIndex != -1) {
6281
if (!
ValidationCancelled
&& listViewState[LISTVIEWSTATE_doubleclickFired] && index != -1) {
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
2417
if (!
ValidationCancelled
) {
winforms\Managed\System\WinForms\RadioButton.cs (3)
474
if(!
ValidationCancelled
){
578
if (!
ValidationCancelled
) {
601
if (!
ValidationCancelled
) {
winforms\Managed\System\WinForms\TabControl.cs (3)
748
if(
ValidationCancelled
) {
1817
if(
ValidationCancelled
) {
2180
if(
ValidationCancelled
) {
winforms\Managed\System\WinForms\TextBox.cs (2)
878
bool wasValidationCancelled =
ValidationCancelled
;
881
(!
ValidationCancelled
|| wasValidationCancelled)) {
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1687
if (!
ValidationCancelled
&& UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle) {
winforms\Managed\System\WinForms\TreeView.cs (5)
2669
if (!
ValidationCancelled
) {
3034
if (hnode != IntPtr.Zero && !
ValidationCancelled
) {
3266
if (!
ValidationCancelled
&& CheckBoxes)
3291
if (!
ValidationCancelled
&& !treeViewState[TREEVIEWSTATE_doubleclickFired] & !treeViewState[TREEVIEWSTATE_mouseUpFired]) {
3306
if (!
ValidationCancelled
) {
winforms\Managed\System\WinForms\UpDownBase.cs (5)
966
if (UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle && !
ValidationCancelled
) {
1311
if (!parent.
ValidationCancelled
&& UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle) {
1538
if (!parent.
ValidationCancelled
&& e.Button == MouseButtons.Left) {
1643
if (!parent.
ValidationCancelled
&& e.Button == MouseButtons.Left) {
1657
if (!parent.
ValidationCancelled
&& UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle) {
winforms\Managed\System\WinForms\UserControl.cs (1)
359
if (!
ValidationCancelled
) {