跳到主要内容

github/tai

公开

Tai · Windows 软件与网站使用时长统计。上游 Planshit/Tai 的源码镜像,非灵栈原创;MIT 许可。来源:https://github.com/Planshit/Tai 。本次为手动同步,暂不提供安装包。

浏览文件

SettingPanel.xaml

28 行 · 1.2 KB历史下载
1<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3 xmlns:local="clr-namespace:UI.Controls.SettingPanel"
4 xmlns:base="clr-namespace:UI.Controls.Base">
5 <Style TargetType="{x:Type local:SettingPanel}">
6 <Setter Property="SnapsToDevicePixels"
7 Value="true" />
8
9 <Setter Property="Background" Value="{DynamicResource SettingPanelBgBrush}"/>
10 <Setter Property="BorderBrush" Value="{DynamicResource SettingPanelBorderBrush}"/>
11 <Setter Property="SpliteLineBrush" Value="{DynamicResource SettingPanelSpliteLineBrush}"/>
12 <Setter Property="Template">
13 <Setter.Value>
14 <ControlTemplate TargetType="{x:Type local:SettingPanel}">
15 <Border CornerRadius="5" x:Name="Border">
16 <StackPanel x:Name="Container">
17
18 </StackPanel>
19
20 </Border>
21 <ControlTemplate.Triggers>
22
23 </ControlTemplate.Triggers>
24 </ControlTemplate>
25 </Setter.Value>
26 </Setter>
27 </Style>
28</ResourceDictionary>