ui/winui/App.xaml.h

Thu, 23 Oct 2025 21:22:05 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 23 Oct 2025 21:22:05 +0200
changeset 872
1e34a27e016d
parent 205
b1ac0dd1d38b
permissions
-rw-r--r--

add first code for binding demo

// 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 };
    };
}

mercurial