There are many ways this can be achieved. Here is two example.
<UserControl x:Class=”Tips.MainPage”
xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”
xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”
xmlns:d=”http://schemas.microsoft.com/expression/blend/2008″
xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006″
mc:Ignorable=”d”
d:DesignHeight=”300″ d:DesignWidth=”400″>
<Grid x:Name=”LayoutRoot” Background=”Beige”>
<!–using hyperlink–>
<HyperlinkButton x:Name=”btnhyper” Click=”btnhyper_Click”>
<HyperlinkButton.Background>
<ImageBrush ImageSource=”images/vaio_girl.jpg” />
</HyperlinkButton.Background>
</HyperlinkButton>
<!–or if button is a must–>
<Button>
<Button.Content>
<Grid VerticalAlignment=”Center”>
<Image Source=”images/vaio_girl.jpg” />
<TextBlock Text=”Hello” VerticalAlignment=”Center” HorizontalAlignment=”Center” />
</Grid>
</Button.Content>
</Button>
</Grid>
</UserControl>
Sharker Khaleed Mahmud
Software Developer
(MCP,MCTS,MCPD[web])




