I have below property in my MainPage. And i am am trying to bind this to a TextBox in the xaml file.
property String^ TestProperty
{
String^ get() { return m_testItem; };
void set(String^ val) { m_testItem= val; }
}
xaml code :
<TextBox Grid.Row="1" Grid.Column="0" x:Name="testVal" x:Uid="testVal" Header="Laser" Text="{x:Bind TestProperty, Mode=TwoWay}"/>
I Can not see any value in the control. What am i missing here?