I am creating a hyperlink button like this :
<HyperlinkButton Name="Button" Background="#11A3EB" Height="29" Width="128" >
<HyperlinkButton.Content>
<StackPanel Orientation="Horizontal">
<Image Source="../../Assets/Images/Image.png" Width="20" Height="20"/>
<sdk:Label Content="Some Text" Padding="5,0,0,0" />
</StackPanel>
</HyperlinkButton.Content>
</HyperlinkButton>
The result is fine in the design preview of visual studio.
However, when i compile my application, the button shows a rectangle with nothing inside it.
Why is not showing correctly and how should i solve this problem ?
Thanks !
Try to set Foreground property value some other color than #11A3EB. Maybe your button text color is the same as you link background.