【发布时间】:2015-06-25 08:16:37
【问题描述】:
我编写了一个 Windows Phone 8.1 (WINRT) 应用程序。我需要在页面中显示日历。因此,我从 nuget 添加了 WinRT XAML 工具包 - 日历控件。
PM> 安装包 WinRTXamlToolkit.Controls.Calendar
<Page
x:Class="DrFit.Pages.ActivityTimeTablePage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:DrFit.Pages"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
xmlns:WinRT="using:WinRTXamlToolkit.Controls"
Background="Black">
<Grid x:Name="LayoutRoot">
<WinRT:Calendar Height="500">
</WinRT:Calendar>
</Grid>
</Page>
如何自定义这个 Calendar 控件,例如 FontWeight,Foreground,Background?
【问题讨论】:
标签: c# xaml windows-phone windows-phone-8.1 winrt-xaml-toolkit