In today's article we will learn how to set data binding properties using the XAML Designer in Windows Store Apps. You can set data binding properties using the Properties window.
This article shows an example for learning how to bind data to a control at design time without write any code-behind coding.
Follow these steps to bind the data using Property windows through designer.
Step 1
Create a C# project in the Blank App template.
Step 2
Create a class to use as a data source.
Add a Class file to the Project.


Here is the code of the class file:
public class EmployeeDetail
{
public string Name
{
get { return "Amit"; }
set { value = "Amit"; }
}
public string desig
{
get { return "Accountant"; }
set { value = "Accountant"; }
}
public int salary
{
get { return 10000; }
set { value = 10000; }
}







Praveen VRPosted Oct 29, 2012, 4:34 AM
Thanks Gourav :)
Gaurav GuptaeditedPosted Oct 29, 2012, 4:28 AMEdited Oct 29, 2012, 4:30 AM
In the App.xaml.cs file you can write the name of Startup page..For ex-if (!rootFrame.Navigate(typeof(BasicPage2), args.Arguments))
Praveen VRPosted Oct 29, 2012, 2:17 AM
Hi Gourav , Can you say how to change the start up page for windows store apps while development?