Use an ImageBrush
and bind it to the ImageUrl
(or whatever it is named) property of the Card
class:
<Button>
<Button.Background>
<ImageBrush ImageSource="{Binding ImageUrl}" />
</Button.Background>
</Button>
Your Card class would be something like this:
class Card{
public string ImageUrl {get; set;}
// other properties and stuff
}