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