3 overrides of Mask
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\MaskDescriptorTemplate.cs (1)
38
public override string?
Mask
{ get; }
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\MaskDescriptorComparerTests.cs (1)
12
public override string?
Mask
{ get; }
System\Windows\Forms\Design\MaskDescriptorTests.cs (1)
30
public override string?
Mask
{ get; }
12 references to Mask
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\MaskDescriptor.cs (6)
69
if (string.IsNullOrEmpty(maskDescriptor.
Mask
) || string.IsNullOrEmpty(maskDescriptor.Name) || string.IsNullOrEmpty(maskDescriptor.Sample))
75
MaskedTextProvider maskedTextProvider = new(maskDescriptor.
Mask
, maskDescriptor.Culture);
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\MaskDesignerDialog.cs (5)
428
if (descriptor.
Mask
== _maskedTextBox.Mask && descriptor.ValidatingType == _maskedTextBox.ValidatingType)
514
MaskedTextProvider mtp = new(maskDescriptor.
Mask
!, maskDescriptor.Culture);
626
_txtBoxMask.Text = maskDescriptor.
Mask
;
627
_maskedTextBox.Mask = maskDescriptor.
Mask
;
715
if (selectedMaskDex is null || (selectedMaskDex != _customMaskDescriptor && selectedMaskDex.
Mask
!= _txtBoxMask.Text))
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\MaskDescriptorTemplateTests.cs (1)
42
descriptor.
Mask
.Should().BeNull();