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


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

    Parameters

    rawText
    The text to format.

    Return Value

    A string representing the text as it will be displayed by the WinDatePicker 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