I have a TextBlock and I am setting the Text property of that TextBlock to some text. I have set the MaxHeight and MaxWidth on the TextBlock. If the text doesnt fit in that TextBlock I want the remaining text to go to another TextBlock. Is there a way to do this in XAML?
why not use a flow document with text inside paragraphs....! Sorry if this was not what you were expecting. Your question appeared like a flow issue and we already have FlowDocument. Research and Development
Imageright Inc.
http://krishnabhargav.blogspot.com
Proposed as answer byDutchMarcelThursday, November 13, 2008 7:29 AM
Marked as answer byJim Zhou - MSFTWednesday, November 19, 2008 9:53 AM
I would vote for expanding textblock, however, if you really need it, you should create converter, that splits text according the maxwidth. It not going to be simple Tamir http://blogs.microsoft.co.il/blogs/tamir If your question was answered, please mark it.
why not use a flow document with text inside paragraphs....! Sorry if this was not what you were expecting. Your question appeared like a flow issue and we already have FlowDocument. Research and Development
Imageright Inc.
http://krishnabhargav.blogspot.com
Proposed as answer byDutchMarcelThursday, November 13, 2008 7:29 AM
Marked as answer byJim Zhou - MSFTWednesday, November 19, 2008 9:53 AM