Conversion
Binding.StringFormat [SF]
Use
Binding.StringFormat
for formatting source data for display when the target dependency property is of type string
Converter [C]
Use
IValueConverter
for single binding source.Use
IMultiValueConverter
for multiple binding sources.Instantiate in the
Resources
section. Use withStaticResource
.Convert()
from source to target andConvertBack()
for otherwise.Use
Binding.ConverterParameter
for parameter to methods.If both
[SF]
and[C]
are used,[SF]
is applied after[C]
for target update.