MobileForms Toolkit Documentation

MaskedTextProvider.ToDisplayString Method (Char)

Returns the formatted string in a displayable form.

public virtual string ToDisplayString(
char passwordChar
);

Parameters

passwordChar
The character used to mask characters in formatted string. Set the value of this parameter to 0 (character value) if you do not want to mask characters.

Return Value

The formatted String that includes prompts and mask literals.

Remarks

The ToDisplayString method will always include prompt and literal characters in the return value, regardless of the value of the IncludePrompt or IncludeLiterals properties.

ToDisplayString is commonly used to obtain the string to display in associated user interface elements, such as MaskedTextBox.

See Also

MaskedTextProvider Class | Resco.Controls.MaskedTextBox Namespace | MaskedTextProvider.ToDisplayString Overload List