Helper base class to inherit from to have a simple implementation of INotifyPropertyChanged.  
 More...
#include <cppxaml/XamlProperty.h>
template<typename T>
struct cppxaml::SimpleNotifyPropertyChanged< T >
Helper base class to inherit from to have a simple implementation of INotifyPropertyChanged. 
- Template Parameters
 - 
  
  
 
When you declare your class, make this class a base class and pass your class as a template parameter: 
 
};
#define INIT_PROPERTY(NAME, VALUE)
use this to initialize a cppxaml::XamlPropertyWithNPC in your class constructor.
Definition: XamlProperty.h:201
 
Helper base class to inherit from to have a simple implementation of INotifyPropertyChanged.
Definition: XamlProperty.h:78
 
Implements a property type with notifications.
Definition: XamlProperty.h:161
 
   
◆ RaisePropertyChanged()
Raises a property change notification event. 
- Parameters
 - 
  
    | name | The name of the property  | 
  
   
- Returns
 
Usage example
XAML file 
<Image Source="ms-appx:///assets/skulogo2_client.png" Height="{x:Bind MyInt, Mode=OneWay}" />
  C++ 
void MyPage::DoSomething() {
 
 
 
 
}
auto RaisePropertyChanged(std::wstring_view name)
Raises a property change notification event.
Definition: XamlProperty.h:112
 
  
 
 
The documentation for this struct was generated from the following file: