本文讲解C#WPF构建仿苹果的漂亮的工具栏。
自定义工具栏样式代码如下
<Window.Resources>
<Style x:Key="ToolBarStyle" TargetType="ToolBar">
<Setter Property="Background" Value="LightBlue"/>
<Setter Property="Height" Value="50"/>
<Setter Property="Margin" Value="5"/>
</Style>
<Style x:Key="ToolBarButtonStyle" TargetType="Button">
<Setter Property="Width" Value="50"/>
<Setter Property="Height" Value="50"/>
<Setter Property="Background" Value="LightGray"/>
<Setter Property="BorderBrush" Value="Gray"/>
<Setter Property="
标签:工具栏,自定义,C#,漂亮,苹果,WPF
From: https://blog.csdn.net/qq_30725967/article/details/137542484