Returns a value indicating whether the specified mask descriptor is valid and can be added to the masks list.
true if maskDescriptor is valid; otherwise, false.
The MaskDescriptor.IsValidMaskDescriptor(MaskDescriptor) method determines whether maskDescriptor is valid and can be added to the masks list.
A valid System.Windows.Forms.Design.MaskDescriptor must meet the following conditions.
Not null.
Not null or an empty mask.
Not null or an empty name.
Not null or an empty sample.
The sample is correct based on the mask and all required edit characters have been provided. This means the mask is completed but not necessarily full.
The sample is valid based on the MaskDescriptor.ValidatingType object, if any.