Click or drag to resize
RadMaskedEditBoxElementFormat Method (String, String, Char, CultureInfo)
Format the specified text using the specified mask, prompt character, and culture information.

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI (in Telerik.WinControls.UI.dll) Version: 2018.2.619.40 (2018.2.619.40)
Syntax
public static string Format(
	string mask,
	string text,
	char promptChar,
	CultureInfo culture
)

Parameters

mask
Type: SystemString
The mask to use.
text
Type: SystemString
The text to format.
promptChar
Type: SystemChar
The prompt character to use for missing characters. If a null character ('\x0') is specified, prompt characters are omitted.
culture
Type: System.GlobalizationCultureInfo
The culture information to use. If null, the current culture is used.

Return Value

Type: String
The formatted text string.
See Also