How can we limit the number of characters that we want to display on our TextBlock with Windows Phone 7?
You have a couple of options.
MaxWidth
and MaxHeight
properties of your TextBlock. Any remaining text would get truncated. var str = "SomeReallyLongString";
var maxLength = 10;
yourTextBlock.Text = str.Length > maxLength ? str.Substring(0, maxLength) : str;