System.Windows.Forms.Design.MaskDescriptor Class

Defines a set of members for derived classes to provide options for the masked text box UI type editor.

See Also: MaskDescriptor Members

Syntax

public abstract class MaskDescriptor

Remarks

The System.Windows.Forms.Design.MaskDescriptor abstract class defines the common set of properties that all mask descriptors must implement. You can use mask descriptors to create predefined mask options for use in the UI type editor for the System.Windows.Forms.MaskedTextBox. For example, vsprvs provides predefined masks for data such as the Postal Code, time, different date formats, and telephone number. All predefined masks will be associated with the System.ComponentModel.MaskedTextProvider parsing engine.

You can discover System.Windows.Forms.Design.MaskDescriptor types at design time by querying the System.ComponentModel.Design.ITypeDiscoveryService service provider.

Requirements

Namespace: System.Windows.Forms.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0