【发布时间】:2015-02-03 05:53:38
【问题描述】:
如何在 Windows Phone 8.1 中更改 ContentDialog 页面的 title 属性的样式。
XAML:
<ContentDialog
x:Class="MyApp.View.Login.ContentDialog1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:MyApp.View.Login"
Title="DIALOG TITLE">
<StackPanel VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
<TextBox Name="email" Header="Email address"/>
</StackPanel>
</ContentDialog>
这里有Title="DIALOG TITLE",我可以更改title中的文字显示样式吗?
编辑
如果没有提及title,如何减少ContentDialog 中最顶部的空白空间?
【问题讨论】:
标签: c# xaml windows-phone-8.1