跳到主要内容

github/tai

公开

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

浏览文件

TPage.xaml

16 行 · 716 B历史下载
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">
4 <Style
5 TargetType="{x:Type local:TPage}">
6 <Setter Property="Template">
7 <Setter.Value>
8 <ControlTemplate TargetType="{x:Type local:TPage}">
9 <Border Background="{TemplateBinding Background}">
10 <ContentPresenter Content="{TemplateBinding Page.Content}"/>
11 </Border>
12 </ControlTemplate>
13 </Setter.Value>
14 </Setter>
15 </Style>
16</ResourceDictionary>