由于我无法在UWP应用程序中找到Windows帮助提供程序,因此我使用了带有??的按钮。
我想放一个?在我的页面的右上角,将打开ContentDialog作为我的帮助屏幕。这是我用Button打开的ContentDialog。<ContentDialog
x:Class="EMR3.Views.MainContentDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:EMR3.Views"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
PrimaryButtonText="OK"
PrimaryButtonClick="ContentDialog_PrimaryButtonClick"
x:Name="mainHelpDlg">
<ContentDialog.TitleTemplate>
<DataTemplate>
<TextBlock Text="Main Screen Help"
FontStyle="Italic"
FontWeight="ExtraBlack" />
</DataTemplate>
</ContentDialog.TitleTemplate>
<ContentControl>
<ContentControl.ContentTemplate>
<DataTemplate>
<WebView x:Name="MainWebView" Source="http://www.xxxxxxx.com/Help_p1.html" Grid.Column="4" Grid.ColumnSpan="2" Grid.RowSpan="3" HorizontalAlignment="Left" Height="300" Grid.Row="3" VerticalAlignment="Center" Width="400" />
</DataTemplate>
</ContentControl.ContentTemplate>
</ContentControl>
</ContentDialog>
是否有更好的方法在UWP中显示没有帮助提供程序的帮助屏幕?我倾向于放置&#34;?&#34;在标题栏的右侧。