10 references to Visible
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
8445|| ((validationConstraints & ValidationConstraints.Visible) == ValidationConstraints.Visible && !c.Visible)
System.Windows.Forms.Tests (8)
System\Windows\Forms\ContainerControlTests.cs (4)
1002yield return new object[] { ValidationConstraints.Visible, true, 0, 1, 0, 1, 1, 0, 1 }; 1003yield return new object[] { ValidationConstraints.Visible, false, 1, 1, 0, 1, 1, 0, 1 }; 1011yield return new object[] { ValidationConstraints.ImmediateChildren | ValidationConstraints.Selectable | ValidationConstraints.Enabled | ValidationConstraints.Visible | ValidationConstraints.TabStop, true, 0, 0, 0, 0, 0, 0, 0 }; 1012yield 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)
1468yield return new object[] { ValidationConstraints.Visible, true, 0, 1, 0, 1, 1, 0, 1 }; 1469yield return new object[] { ValidationConstraints.Visible, false, 1, 1, 0, 1, 1, 0, 1 }; 1477yield return new object[] { ValidationConstraints.ImmediateChildren | ValidationConstraints.Selectable | ValidationConstraints.Enabled | ValidationConstraints.Visible | ValidationConstraints.TabStop, true, 0, 0, 0, 0, 0, 0, 0 }; 1478yield return new object[] { ValidationConstraints.ImmediateChildren | ValidationConstraints.Selectable | ValidationConstraints.Enabled | ValidationConstraints.Visible | ValidationConstraints.TabStop, false, 1, 0, 0, 0, 0, 0, 0 };