CppXAML
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
XamlProperty.h File Reference
#include <type_traits>
#include <cppxaml/utils.h>

Go to the source code of this file.

Classes

struct  cppxaml::XamlEvent< T >
 A default event handler that maps to Windows.Foundation.EventHandler. More...
 
struct  cppxaml::TypedXamlEvent< TSender, TArgs >
 A default event handler that maps to Windows.Foundation.TypedEventHandler. More...
 
struct  cppxaml::SimpleNotifyPropertyChanged< T >
 Helper base class to inherit from to have a simple implementation of INotifyPropertyChanged. More...
 
struct  cppxaml::XamlProperty< T >
 Implements a simple property (without change notifications). More...
 
struct  cppxaml::XamlPropertyWithNPC< T >
 Implements a property type with notifications. More...
 

Namespaces

namespace  cppxaml
 The main CppXAML namespace.
 

Macros

#define INIT_PROPERTY(NAME, VALUE)    NAME(&m_propertyChanged, winrt::try_as<winrt::Windows::Foundation::IInspectable>(this), std::wstring_view{ L#NAME }, VALUE)
 use this to initialize a cppxaml::XamlPropertyWithNPC in your class constructor.
 

Detailed Description

Author
Alexander Sklar

LICENSE

Copyright (c) Alexander Sklar

Licensed under the MIT license