Sat, 21 Jun 2025 14:17:20 +0200
add userdata parameter to list initializer
// Copyright (c) Microsoft Corporation and Contributors. // Licensed under the MIT License. #pragma once #include "App.xaml.g.h" namespace winrt::winui::implementation { struct App : AppT<App> { App(); void OnLaunched(Microsoft::UI::Xaml::LaunchActivatedEventArgs const&); private: winrt::Microsoft::UI::Xaml::Window window{ nullptr }; }; }