Infragistics(R) NetAdvantage(R) : Silverlight 2011.2
GetText(InputMaskMode) Method
See Also  E-mail your feedback on this topic.
Infragistics.Controls.Editors Namespace > XamMaskedInput Class : GetText(InputMaskMode) Method

maskMode
The mode that determines how literals and prompt characters are accounted for.
Returns the current text of the editor based on the specified mask mode.

Syntax

Visual Basic (Declaration) 
Public Function GetText( _
   ByVal maskMode As InputMaskMode _
) As String
C# 
public string GetText( 
   InputMaskMode maskMode
)

Parameters

maskMode
The mode that determines how literals and prompt characters are accounted for.

Return Value

The current text of the editor with the specified mask mode applied to it.

Remarks

Text property can also be used to retrieve the current text of the editor. The Text property will return a value with the mask mode specified by the DataMode property applied to the returned value. This method allows you to use any mode without having to set the DataMode property.

Any of Infragistics.Controls.Editors.ValueInput.Value, Text and DisplayText properties can also be used to retrieve the current value of the editor.

See Also