Image control stretch property not working in Windows phone8 -
i tried bind bitmapimage source of image control in windows phone 8 application. , apply stretch property uniform. image still showing stretched. how can fit image in it's original dimension.
here code:
<image x:name="conversationimage" width="200" height="200" visibility="{binding imagevisibility}" source="{binding thumbimage}" stretch="uniform" verticalalignment="center" horizontalalignment="center"/>
hello deepak image showing stretched because set strech property uniform if in original dimention set stretch property none..
<image x:name="conversationimage" width="200" height="200" visibility="{binding imagevisibility}" source="{binding thumbimage}" stretch="none" verticalalignment="center" horizontalalignment="center"/>
if want in original dimension remove image control width , height.
Comments
Post a Comment