I have some WPF textblocks in a stackpanel that I want to databind and format.
E.g. the following formats a date 24h style without the seconds part:
Try this:
<TextBlock Text="{Binding MyOtherCustomObject, StringFormat={}{0:+#;-#;''}}" />
This article has nice samples of int formatting - http://www.csharp-examples.net/string-format-int/