<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Style x:Key="ImageButtonStyle" TargetType="
写项目的时候发现这样一个现象 上面的border是设置borderbrush和background都为白色,但是视觉两者之间却有一条黑线,这其实是窗口背景色,不信可以改窗口颜色试试 <Border Background="White" CornerRadius="80" BorderThickness="10" BorderBrush="White"> </Bor
<Style x:Key="CircularButton" TargetType="Button"> <Setter Property="Height" Value="20"/> <Setter Property="Width" Value="20"/> <Setter Property="Background"