【发布时间】:2020-08-11 23:39:48
【问题描述】:
我正在尝试对我的 UWP 应用程序使用新的 WinUI 工具包 TreeView/TeachingTip/... 控件。 我已经从 Nudget 包中添加了引用 Microsoft.UI.Xaml。
<Page
x:Class="UWPInVS2019.Login"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:UWPInVS2019"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:WinCon="using:Microsoft.UI.Xaml.Controls"
mc:Ignorable="d"
>
<Grid>
<Button />
<WinCon:TeachingTip/>
</Grid>
【问题讨论】:
-
以下是否有效?