I have a Button that I need to have a colored Background but on top of the color I need to have an image. I did add background color and added the image in the foreground. The image is not showing at all as soon I added to the foreground.
If I add image to the Background it will appear. Any idea?
<Button x:Name="btnInkMode" Content="" Height="20" VerticalAlignment="Top" IsEnabled="True" HorizontalAlignment="Left" Width="20" Canvas.Left="554" Canvas.Top="5" Click="btnInkMode_Click" Background="#FFFFD56A">
<Button.Foreground>
<ImageBrush ImageSource="../Resources/pen-icon.gif"/>
</Button.Foreground>
</Button>