CppXAML
Loading...
Searching...
No Matches
Namespaces | Functions
InitializeWithWindow.h File Reference
#include <cppxaml/Controls.h>
#include <cppxaml/XamlWindow.h>
#include <type_traits>
#include <ShObjIdl_core.h>
#include <winrt/Windows.UI.Xaml.Controls.Primitives.h>

Go to the source code of this file.

Namespaces

namespace  cppxaml
 The main CppXAML namespace.
 

Functions

template<typename TWindow >
void cppxaml::InitializeWithWindow (winrt::Windows::Foundation::IInspectable obj, TWindow w)
 Initializes an object with a window-like object.
 
bool cppxaml::InitializeWithWindow (winrt::Windows::Foundation::IInspectable obj, HWND hwnd)
 Initializes a FrameworkElement with an HWND.
 
void cppxaml::InitializeWithWindow (winrt::Windows::Foundation::IInspectable obj, const cppxaml::XamlWindow *xw)
 Initializes a FrameworkElement with the window represented by the XamlWindow or the XAML content root that the XamlWindow object is hosting.
 
template<typename TUIElement , typename TWindow >
void cppxaml::InitializeWithWindow (cppxaml::details::Wrapper< TUIElement > obj, TWindow w)
 

Detailed Description

Author
Alexander Sklar

LICENSE

Copyright (c) Alexander Sklar

Licensed under the MIT license