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

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -