Open Jogge opened 5 years ago
I'm trying to bind to this property with the GettextFormatConverter and the value of Date is null:
GettextFormatConverter
Date
null
public Class SomeClass { public DateTime? Date { get; set; } = null }
<TextBlock Text="{Binding SomeClass.Date, Mode=OneWay, Converter={wpf:GettextFormatConverter Date: {0}}}" />
Expected result: Date:
Date:
Result:
I'm trying to bind to this property with the
GettextFormatConverter
and the value ofDate
isnull
:Expected result:
Date:
Result: