Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / TextBoxArea Class / FormatToEditText Method
The text to format according to the Mask.


In This Topic
    FormatToEditText Method
    In This Topic
    Returns the specified raw text formatted as it will be displayed by the WinTextBox control.
    Syntax
    'Declaration
     
    Protected Friend Function FormatToEditText( _
       ByVal rawText As String _
    ) As String
    'Usage
     
    Dim instance As TextBoxArea
    Dim rawText As String
    Dim value As String
     
    value = instance.FormatToEditText(rawText)
    protected internal string FormatToEditText( 
       string rawText
    )

    Parameters

    rawText
    The text to format according to the Mask.

    Return Value

    A string representing the text as it will be displayed by the WinTextBox control.
    Remarks

    If an exception occurs, rawText will be returned as is.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also