As per this page and several other references, the way to create a data binding with Xaml/C++ in Windows 8 is to do the following:
In C++:
- Create a bindable class,
- Set the DataContext property to an instance of that class.
In Xaml:
<Object AnyProperty="{Binding Path=AnotherProperty, Mode=TwoWay}" />
How would I achieve that binding if I constructed Object through C++?
Would this page be of any help to you?
How to: Create a Binding in Code
The example on the page seems to use a SetBinding instance method on a textblock to bind a property to the text property of the textblock. Maybe there is a similar method in C++?