Why is this button on some platforms flat and on others there is a white border caused by a 3D-effect (seen on button press).
<Button Content="Print only" HorizontalAlignment="Left" Margin="132,944,0,0"
Width="255" GotFocus="Button_GotFocus" Click="Button_Click_3" Background="#FF0074BD"
Foreground="White" FontSize="22" RenderTransformOrigin="-0.706,-4.027"
Height="54" VerticalAlignment="Top" BorderThickness="0"/>
设置样式对我有用:
<Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.