winrt xaml - How to set textwrapping in Button -
did search on internet, not find solution. think missed below code make text wrap:
<button x:name="btncustomeraging" background="green" borderbrush="green" foreground="white" fontsize="33" horizontalalignment="left" margin="662,106,0,0" grid.row="1" verticalalignment="top" height="213" width="238"> <textwrapping> customer locations </textwrapping> </button>
this work.
<button x:name="btncustomeraging" background="green" borderbrush="green" foreground="white" fontsize="33" horizontalalignment="left" margin="662,106,0,0" grid.row="1" verticalalignment="top" height="213" width="238"> <textblock text="customer locations" textwrapping="wrap" /> </button>
Comments
Post a Comment