xaml - stackpanel Horizontal wrap text WP 8.1 -
code:
<code> <stackpanel orientation="horizontal"> <textblock text="key1:" fontsize="20" foreground="#73000000" textwrapping="wrap"/> <grid><textblock text="small value1" fontsize="20" textwrapping="wrap" /> </grid> </stackpanel> <stackpanel orientation="horizontal"> <textblock text="key2:" fontsize="20" foreground="#73000000" textwrapping="wrap"/> <grid> <textblock text="long long long long long longlonglong long long longvalue2" fontsize="20" textwrapping="wrap" /> </grid> </stackpanel> </code>
image screen shot:
i need make transfer of values new line if longer screen.
try using wrap whole word attribute
<textblock textwrapping="wrapwholewords">
Comments
Post a Comment