CppXAML
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
cppxaml::AppController Struct Reference

AppController is responsible for coordinating XamlWindow instances, can extend their wndproc, and provides an opportunity to hook up event handlers once a XAML UI becomes live. More...

#include <cppxaml/XamlWindow.h>

Public Member Functions

 AppController (HINSTANCE hInst, winrt::Windows::UI::Xaml::Application xapp)
 

Public Attributes

void(* OnUICreated )(winrt::Windows::UI::Xaml::UIElement content, XamlWindow *xw)
 App-provided callback to be called when any of this controller's windows create their UI (usually Pages).
 

Detailed Description

AppController is responsible for coordinating XamlWindow instances, can extend their wndproc, and provides an opportunity to hook up event handlers once a XAML UI becomes live.

Constructor & Destructor Documentation

◆ AppController()

cppxaml::AppController::AppController ( HINSTANCE  hInst,
winrt::Windows::UI::Xaml::Application  xapp 
)
inline
Parameters
hInst
xapp

The documentation for this struct was generated from the following file: