6 overrides of ValidatingType
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\MaskDescriptorTemplate.cs (1)
44public override Type? ValidatingType { get; }
System.Windows.Forms.Design.Tests (5)
System\Windows\Forms\Design\MaskDescriptorComparerTests.cs (1)
15public override Type? ValidatingType { get; }
System\Windows\Forms\Design\MaskDescriptorTests.cs (1)
36public override Type? ValidatingType => _validatingType;
System\Windows\Forms\Design\MaskDesignerDialogTests.cs (3)
100public override Type? ValidatingType => null; 108public override Type? ValidatingType => null; 117public override Type? ValidatingType => typeof(string);
16 references to ValidatingType
System.Windows.Forms.Design (15)
System\Windows\Forms\Design\MaskDescriptor.cs (7)
81ValidatingType = maskDescriptor.ValidatingType, 94if (maskDescriptor.ValidatingType is not null) 141return ((Mask == descriptor.Mask) && (ValidatingType == descriptor.ValidatingType)); 146string hash = string.Concat(Mask, ValidatingType?.ToString()); 152return $"{GetType()}<Name={Name ?? "null"}, Mask={Mask ?? "null"}, ValidatingType={(ValidatingType is not null ? ValidatingType.ToString() : "null")}";
System\Windows\Forms\Design\MaskDescriptorComparer.cs (4)
57textA = maskDescriptorA.ValidatingType is null ? SR.MaskDescriptorValidatingTypeNone : maskDescriptorA.ValidatingType.Name; 58textB = maskDescriptorB.ValidatingType is null ? SR.MaskDescriptorValidatingTypeNone : maskDescriptorB.ValidatingType.Name;
System\Windows\Forms\Design\MaskDesignerDialog.cs (4)
428if (descriptor.Mask == _maskedTextBox.Mask && descriptor.ValidatingType == _maskedTextBox.ValidatingType) 511string validatingType = maskDescriptor.ValidatingType is not null ? maskDescriptor.ValidatingType.Name : nullEntry; 628_maskedTextBox.ValidatingType = maskDescriptor.ValidatingType;
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\MaskDescriptorTemplateTests.cs (1)
33descriptor.ValidatingType.Should().Be(validatingType);