WinUI | ComponentOne
C1.WinUI.Core Assembly / C1.WinUI.Core Namespace / DefaultValueConverter Class / GetFormattedString Method
The value to format.
The format specifier.
In This Topic
    GetFormattedString Method
    In This Topic
    Formats the value parameter using the specified format.
    Syntax
    protected virtual string GetFormattedString( 
       object value,
       string format
    )

    Parameters

    value
    The value to format.
    format
    The format specifier.

    Return Value

    Formatted string if value is System.IFormattable, or value.ToString() otherwise.
    See Also