MaskedTextProvider.Mask Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the input mask.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public string Mask { get; }

Property Value

Type: System.String

A String containing the full mask.

The Mask property is set in the MaskedTextProvider constructor. This mask must contain only valid characters as defined by the masking language.

.NET Framework
Available since 2.0
Return to top