MaskedTextProvider.MaskCompleted Property

 
System_CAPS_noteNote

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

Gets a value indicating whether all required inputs have been entered into the formatted string.

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

public bool MaskCompleted { get; }

Property Value

Type: System.Boolean

true if all required input has been entered into the mask; otherwise, false.

The MaskCompleted property checks only required input elements. To determine whether all required and optional input elements have been entered, use the MaskedTextBox.MaskFull property of the MaskedTextBox class instead.

The current value of the Mask property determines which formatting elements are considered required and which are optional.

.NET Framework
Available since 2.0
Return to top
Show: