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

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI (in Telerik.WinControls.UI.dll) Version: 2018.3.911.40 (2018.3.911.40)
Syntax
public static string Format(
	string mask,
	string text,
	char promptChar,
	CultureInfo culture,
	out MaskedTextResultHint hint,
	out int hintPosition
)

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.
hint
Type: System.ComponentModelMaskedTextResultHint
The result of formatting the text.
hintPosition
Type: SystemInt32
The position related to the result hint.

Return Value

Type: String
The formatted text string.
See Also