.net - Image Brush Not working windows phone 8.1 -


my xaml code

   <grid background="white">     <stackpanel height="580" margin="0,0,0,50" orientation="vertical">         <image height="70" width="100" horizontalalignment="center"/>         <image height="50" width="300" horizontalalignment="center"/>         <ellipse x:name="imgprofile" height="180" width="180"  visibility="visible"  >             <ellipse.fill>                 <imagebrush imagesource="/iob wallet/images/profile/photo.png" stretch="uniformtofill" />             </ellipse.fill>         </ellipse>         <textblock height="40" text="welcome !!!" foreground="#06419d" fontsize="30" fontweight="semibold" textalignment="center" margin="4"/>         <textblock height="40" text="" foreground="black" fontsize="28" fontweight="semibold" textalignment="center" margin="4"/>         <textblock height="30" text="" foreground="black" fontsize="24" fontweight="normal" textalignment="center" margin="4"/>         <stackpanel orientation="horizontal">             <textblock text="if not ?" foreground="black" fontsize="15" horizontalalignment="center" margin="75,10,0,0"/>             <hyperlinkbutton content="change user" foreground="#06419d" fontsize="20" margin="20,0,0,0"/>         </stackpanel>         <passwordbox height="40" placeholdertext=" password"  borderthickness="0 0 0 1" borderbrush="#06419d" margin="4,0,2,0"/>         <hyperlinkbutton foreground="#06419d" fontweight="light" visibility="visible" content="forgot password ?" fontsize="20" horizontalalignment="right" width="234" />      </stackpanel>     <button content="login" name="btngetstarted" fontsize="26" fontweight="light" verticalalignment="bottom" foreground="white" margin="1,0,0,-8" borderthickness="0" background="#06419d" height="56" width="500" click="btnlogin_click"  /> 

image visisble in xaml design view.after running/deploying application ,image not showing . photo actual dimensions 100 * 100.. please suggest solution

<ellipse x:name="imgprofile" height="180" width="180"  visibility="visible"  >             <ellipse.fill>                 <imagebrush imagesource="ms-appx:///iob wallet/images/profile/photo.png"  />             </ellipse.fill> </ellipse> 

try code


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -