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


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

    Parameters

    rawText
    The text to format.

    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