TextTrimming might be of help here. After setting the TextWrapping="NoWrap" could you try TextTrimming="WordEllipsis" . Then try, modifying the TextAlignment .
Up vote 1 down vote favorite 1 share g+ share fb share tw.
I'm having a problem aligning the text in my listbox. I'm basically trying to create listbox that works like a uitableview in iOS. In the code below the left TextBlock is set up just how I want it, but I can't get the right TextBlock to behave like I want it.
Right now the text is right aligned so that when the text is too long to fit on the screen it cuts off the text at the beginning and just shows the end of the text. What I want to happen is have the TextBlock right aligned so that is stretches from the right but have the text inside of if left aligned so that it shows the beginning of the text and cuts off the end of the text. Windows-phone-7 listbox textblock link|improve this question edited Mar 6 at 3:26JCS007406 asked Mar 6 at 1:14Chris184.
TextTrimming might be of help here. After setting the TextWrapping="NoWrap" could you try TextTrimming="WordEllipsis". Then try, modifying the TextAlignment.
Hope that helps.
When I do this the text disappears from the right TextBlock. – Chris Mar 6 at 19:55.
This would work if the left TextBlock width was always the same but in my app they are all different. Is there a way to subtract the width of the left TextBlock from the ListBox width to get he size of the right TextBlock? – Chris Mar 6 at 19:58.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.