How to increase height limit of the TextBlock control in Windows Phone

后端 未结 2 737
刺人心
刺人心 2021-01-16 02:39

I need to create a view with multiple TextBlocks populating thousands words. Unfortunately, when I set the Text of the TextBlock to contain a string longer than approx. 2000

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-16 03:31

    This is a limitation of the TextBox implementation on Windows Phone. If the area is larger thatn 2048 x 2048 it gets clipped.

    This blog post has a workaround.

提交回复
热议问题