Border:

   <Style TargetType="Border">
            <Setter Property="CornerRadius" Value="5"></Setter>
        </Style>

WPF装饰元素

 

Button: 使用 ButtonChrome 装饰元素获取特有的圆角和阴影背景效果。

ListBox 使用 ListBoxChrome 装饰元素。

 

 

 

相关文章:

  • 2021-04-03
  • 2021-08-14
  • 2021-10-05
  • 2022-12-23
  • 2021-05-22
猜你喜欢
  • 2022-12-23
  • 2021-05-26
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
相关资源
相似解决方案