[WIndows Phone7]List pictures in ListBox

1. Add reference to Microsoft.Xna.Framework dll . 2. Replace Grid xaml code with the following code:  <Grid x:Name="LayoutRoot">     <!--ContentPanel - place additional content here-->     <Grid x:Name="ContentP... [More]

[Windows Phone 7.5]Run BackGround Task

Run back ground task in windows phone 7.5, First. Create a Windows Phone Scheduled Task Agent project, name it for example: "BackGroundAgent". Open the default created ScheduledAgent.cs file. Write agent code in OnInvoke method:  protected override void OnInvoke(ScheduledTask&n... [More]

[Windows Phone]Timer

Timer code runs in WP7: timer = new DispatcherTimer(); timer.Interval = new TimeSpan(0, 0, 1);//or TimeSpan.FromSeconds(1) timer.Tick += (sender,e) => {     count++;     txtTimer.Text = count... [More]

[Windows Phone]Using Pivot Control

1. Add Reference to Microsoft.Phone.Controls dll   2. Add xmlns:controls attribute   xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls" 3. Use it   <controls:Pivot Title="Pivots">      <contr... [More]

[Windows Phone]Data Binding

First, define a Class People: Xaml elements are going to bind with object of People. Then, Create an instance in the Windows Page's construction method: Now, with the last line of code:     this.stackPanel.DataContext = myData; myData object is now binding with elements