10 references to Enabled
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
8485
|| ((validationConstraints & ValidationConstraints.
Enabled
) == ValidationConstraints.
Enabled
&& !c.Enabled)
System.Windows.Forms.Tests (8)
System\Windows\Forms\ContainerControlTests.cs (4)
999
yield return new object[] { ValidationConstraints.
Enabled
, true, 0, 1, 1, 1, 0, 1, 1 };
1000
yield return new object[] { ValidationConstraints.
Enabled
, false, 1, 1, 1, 1, 0, 1, 1 };
1011
yield return new object[] { ValidationConstraints.ImmediateChildren | ValidationConstraints.Selectable | ValidationConstraints.
Enabled
| ValidationConstraints.Visible | ValidationConstraints.TabStop, true, 0, 0, 0, 0, 0, 0, 0 };
1012
yield return new object[] { ValidationConstraints.ImmediateChildren | ValidationConstraints.Selectable | ValidationConstraints.
Enabled
| ValidationConstraints.Visible | ValidationConstraints.TabStop, false, 1, 0, 0, 0, 0, 0, 0 };
System\Windows\Forms\UserControlTests.cs (4)
1465
yield return new object[] { ValidationConstraints.
Enabled
, true, 0, 1, 1, 1, 0, 1, 1 };
1466
yield return new object[] { ValidationConstraints.
Enabled
, false, 1, 1, 1, 1, 0, 1, 1 };
1477
yield return new object[] { ValidationConstraints.ImmediateChildren | ValidationConstraints.Selectable | ValidationConstraints.
Enabled
| ValidationConstraints.Visible | ValidationConstraints.TabStop, true, 0, 0, 0, 0, 0, 0, 0 };
1478
yield return new object[] { ValidationConstraints.ImmediateChildren | ValidationConstraints.Selectable | ValidationConstraints.
Enabled
| ValidationConstraints.Visible | ValidationConstraints.TabStop, false, 1, 0, 0, 0, 0, 0, 0 };