0

I have the following code:

 <Button Width="30" Name="RestoreButton" Height="30" Focusable="False" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="11" Background="Transparent" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" BorderThickness="0" BorderBrush="Transparent" Foreground="Transparent" Margin="0,0,30,0">
            <StackPanel>
                <Image Source="Images/maximizewindow.png" RenderTransformOrigin="1.692,0.564" />
                <TextBlock Text="Teljes méret" Foreground="Gray" />
            </StackPanel>
        </Button>

I create a button with an image background. But if I move over, or click on the button, it does not show the textblock's text. Why?

Simulator88
  • 617
  • 6
  • 12
  • 27

0 Answers0