diff --git a/WinUI3Example/MainWindow.xaml.cpp b/WinUI3Example/MainWindow.xaml.cpp index d9b0f58..9396c74 100644 --- a/WinUI3Example/MainWindow.xaml.cpp +++ b/WinUI3Example/MainWindow.xaml.cpp @@ -55,6 +55,7 @@ #include "RevealFocusPage.xaml.h" #include "TenMicaPage.xaml.h" #include "SliderHelperPage.xaml.h" +#include "TeachingTipHelperPage.xaml.h" // To learn more about WinUI, the WinUI project structure, // and more about our project templates, see: http://aka.ms/winui-project-info. diff --git a/WinUI3Example/MainWindow.xaml.h b/WinUI3Example/MainWindow.xaml.h index bb88404..d92dc82 100644 --- a/WinUI3Example/MainWindow.xaml.h +++ b/WinUI3Example/MainWindow.xaml.h @@ -58,6 +58,7 @@ namespace winrt::WinUI3Example::implementation struct RevealFocusPage; struct TenMicaPage; struct SliderHelperPage; + struct TeachingTipHelperPage; struct MainWindow : MainWindowT { @@ -131,7 +132,8 @@ namespace winrt::WinUI3Example::implementation boost::hana::make_pair(L"NavigationViewHelper", boost::hana::type_c), boost::hana::make_pair(L"RevealFocus", boost::hana::type_c), boost::hana::make_pair(L"TenMica", boost::hana::type_c), - boost::hana::make_pair(L"SliderHelper", boost::hana::type_c) + boost::hana::make_pair(L"SliderHelper", boost::hana::type_c), + boost::hana::make_pair(L"TeachingTipHelper", boost::hana::type_c) ); static constexpr void iteratePageType(std::wstring_view key, auto&& onFound) diff --git a/WinUI3Example/TeachingTipHelperPage.idl b/WinUI3Example/TeachingTipHelperPage.idl new file mode 100644 index 0000000..13c9b95 --- /dev/null +++ b/WinUI3Example/TeachingTipHelperPage.idl @@ -0,0 +1,8 @@ +namespace WinUI3Example +{ + [default_interface] + runtimeclass TeachingTipHelperPage : Microsoft.UI.Xaml.Controls.Page + { + TeachingTipHelperPage(); + } +} diff --git a/WinUI3Example/TeachingTipHelperPage.xaml b/WinUI3Example/TeachingTipHelperPage.xaml new file mode 100644 index 0000000..d7fd8f5 --- /dev/null +++ b/WinUI3Example/TeachingTipHelperPage.xaml @@ -0,0 +1,28 @@ + + + + +