I'm developing a Windows Phone app.
I have a custom button with an image inside. This is its XAML code:
<ControlTemplate x:Key="ImageButton" TargetType="Button">
<Grid>
<Image Margin="45,8,35,8" Source="Images/Delete.png"/>
</Grid>
</ControlTemplate>
How can I change Image Source property programmatically?