System.ComponentModel.MaskedTextProvider.Length Property

Gets the length of the mask, absent any mask modifier characters.

Syntax

public int Length { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The MaskedTextProvider.Length property represents the total number of characters in the mask, including both the literal and editable characters. The number of literal characters can be determined by subtracting the value of the MaskedTextProvider.EditPositionCount from the MaskedTextProvider.Length.

MaskedTextProvider.Length also describes the length of the formatted string, including input characters, literals, and prompt characters.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0