I have an input of a random string of twelve characters like this:
ABABABABABAB
I want them to display like this:
ABAB-ABAB-ABAB
How do I format a string in this way. I'm trying to use StringFormat, but it seems like the wrong approach.
<TextBlock>
<TextBlock.Text>
<Binding Path="Key" Mode="OneWay" StringFormat="???" />
</TextBlock.Text>
</TextBlock>