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