[]
        
(Showing Draft Content)

C1.WinUI.Core.DefaultValueConverter.GetFormattedString

GetFormattedString Method

GetFormattedString(object, string)

Formats the value parameter using the specified format.

Declaration
protected virtual string GetFormattedString(object value, string format)
Protected Overridable Function GetFormattedString(value As Object, format As String) As String
Parameters
Type Name Description
object value

The value to format.

string format

The format specifier.

Returns
Type Description
string

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