I want to add remote Image into app bar button.
My image is this url http://2.bp.blogspot.com/-yEbb9_qp-jg/U8-KGeZAy3I/AAAAAAAAB0U/m91Bv1jPAQI/s1600/india+win+at+lords.jpg
and I want to bind it to appbarbutton from the backend. my backend code is propic.UriSource = new Uri("http://2.bp.blogspot.com/-yEbb9_qp-jg/U8-KGeZAy3I/AAAAAAAAB0U/m91Bv1jPAQI/s1600/india+win+at+lords.jpg");
But my backend code is not working...someone please tell me how to do it
And below is my Xaml code
<AppBarButton Label="Ride Now">
<AppBarButton.Icon>
<BitmapIcon x:Name="propic" Height="100" Width="100"/>
</AppBarButton.Icon>
</AppBarButton>
<CommandBar.SecondaryCommands>
<AppBarButton Label="Ride Now">
<AppBarButton.Icon>
<BitmapIcon x:Name="propic12" Height="100" Width="100"/>
</AppBarButton.Icon>
</AppBarButton>
<AppBarButton Label="x" Icon="Admin" />
</CommandBar.SecondaryCommands>
</CommandBar>
</Page.BottomAppBar>