i read that i can use data converters in binding like …
<TextBlock Text="{Binding Converter={StaticResource PositionConverter}}" />
from here
but i wonder if there are any “in-built” converters. because creating converters to just output say 2 decimal places etc seem troublesome. i just thought that there must be sometime inbuilt that i can use?
For a list of built-in converters, see commanderz’s answer
Indeed, and you don’t need to 😉
Instead, you can use the
StringFormatproperty to specify a format specifier:See this page for details on formatting and lists of valid format specifiers.