<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4061076955365799787</id><updated>2024-09-20T04:03:26.715+09:00</updated><category term="Windows Phone"/><category term="C#"/><category term="Memo App"/><category term="xaml"/><category term="WCF"/><title type='text'>My Programming Diary</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-413094977730742516</id><published>2012-04-09T01:18:00.001+09:00</published><updated>2012-04-10T01:10:09.079+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF"/><title type='text'>How to use ChannelFactory class in WCF client side code</title><content type='html'>ChannelFactory class is used in the way that create new channel with server side endpoints.&lt;br /&gt;
Msdn reference is here.&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms576132.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ms576132.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sample code is also here.&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; static void Main(string[] args)  
 {  
   ChannelFactory&amp;lt;IEvalService&amp;gt; cf =   
     new ChannelFactory&amp;lt;IEvalService&amp;gt;(&quot;NetTcpBinding_IEvalService&quot;);  
   IEvalService channel = cf.CreateChannel();  

   Eval eval = new Eval();  
   eval.Submitter = &quot;Shingo&quot;;  
   eval.Timesent = DateTime.Now;  
   eval.Comments = &quot;I love WCF&quot;;  

   channel.SubmitEval(eval);  
   channel.SubmitEval(eval);  

   List&amp;lt;Eval&amp;gt; evals = channel.GetEvals();  

   Console.WriteLine(&quot;Number of evals : {0}&quot;, evals.Count);  
   ((IClientChannel)channel).Close();  

   Console.ReadLine();  
 }  
&lt;/pre&gt;
&lt;br /&gt;
Simply, we can also write like this.&amp;nbsp;EvalServiceClient class was generated when consuming &amp;nbsp;service reference.&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; static void Main(string[] args)  
 {  
   EvalServiceClient channel = new EvalServiceClient(&quot;NetTcpBinding_IEvalService&quot;);  

   Eval eval = new Eval();  
   eval.Submitter = &quot;Shingo&quot;;  
   eval.Timesent = DateTime.Now;  
   eval.Comments = &quot;I love WCF&quot;;  

   channel.SubmitEval(eval);  
   channel.SubmitEval(eval);  

   List&amp;lt;Eval&amp;gt; evals = channel.GetEvals();  

   Console.WriteLine(&quot;Number of evals : {0}&quot;, evals.Count);  
   ((IClientChannel)channel).Close();  

   Console.ReadLine();  
 }  
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
In the code, I get the results of GetEvals method as List&amp;lt;&amp;gt;. You can set the results of collection type easily. The step is like this.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIyrFnH6fbgoZawRf45mml31yAvUuVcic82Q6QpRkl5fV_pYzXQ45hNqtgk7ehG6WhgKbm5ytYtvBfnPNHp692p1O8jsQOeie28hnF3llA0dxhyphenhyphen1qmVRJ78UoNie27kja8heW9CFxHF0zU/s1600/%E7%84%A1%E9%A1%8C3.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;227&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIyrFnH6fbgoZawRf45mml31yAvUuVcic82Q6QpRkl5fV_pYzXQ45hNqtgk7ehG6WhgKbm5ytYtvBfnPNHp692p1O8jsQOeie28hnF3llA0dxhyphenhyphen1qmVRJ78UoNie27kja8heW9CFxHF0zU/s400/%E7%84%A1%E9%A1%8C3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can choose here.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9hWk6deLyHfSfJNXPU2cps2JNfouu673BEFi7CH5e9fGoVQ85reQla_5bYS9rez9s8UujkSnXnJgSIJQqWMMh-_7UJaZn6Z4PWy96XxGcYI0YTXQJVTWt4m1xmQOZ6ZB3GTBvKQ4wt8UC/s1600/%E7%84%A1%E9%A1%8C4.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9hWk6deLyHfSfJNXPU2cps2JNfouu673BEFi7CH5e9fGoVQ85reQla_5bYS9rez9s8UujkSnXnJgSIJQqWMMh-_7UJaZn6Z4PWy96XxGcYI0YTXQJVTWt4m1xmQOZ6ZB3GTBvKQ4wt8UC/s640/%E7%84%A1%E9%A1%8C4.png&quot; width=&quot;580&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/413094977730742516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/04/how-to-use-channelfactory-class-in-wcf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/413094977730742516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/413094977730742516'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/04/how-to-use-channelfactory-class-in-wcf.html' title='How to use ChannelFactory class in WCF client side code'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIyrFnH6fbgoZawRf45mml31yAvUuVcic82Q6QpRkl5fV_pYzXQ45hNqtgk7ehG6WhgKbm5ytYtvBfnPNHp692p1O8jsQOeie28hnF3llA0dxhyphenhyphen1qmVRJ78UoNie27kja8heW9CFxHF0zU/s72-c/%E7%84%A1%E9%A1%8C3.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-7733741736097762776</id><published>2012-04-06T01:09:00.002+09:00</published><updated>2012-04-06T01:11:48.098+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF"/><title type='text'>Running WCF with Console Application and introducing useful app.config editor tool</title><content type='html'>Usually, WCF runs on IIS Web server. But I studied that WCF can also run client application like console application, WPF application or more.&lt;br /&gt;
&lt;br /&gt;
I also learned we can write service model element in app.config from code. (But we don&#39;t use usually.)&lt;br /&gt;
&lt;br /&gt;
I&#39;m gonna show you sample code.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; class Program  
 {  
   static void Main(string[] args)  
   {  
     ServiceHost host = new ServiceHost(typeof(EvalService));  
     host.AddServiceEndpoint(typeof(IEvalService),  
       new BasicHttpBinding(),  
       &quot;http://localhost:8080/evals/basic&quot;);  
     host.AddServiceEndpoint(typeof(IEvalService),  
       new WSHttpBinding(),  
       &quot;http://localhost:8080/evals/ws&quot;);  
     host.AddServiceEndpoint(typeof(IEvalService),  
       new NetTcpBinding(),  
       &quot;net.tcp://localhost:8081/evals&quot;);  
     try  
     {  
       host.Open();  
       PrintServiceInfo(host);  
       Console.ReadLine();  
       host.Close();  
     }  
     catch (Exception ex)  
     {  
       Console.WriteLine(ex);  
       host.Abort();  
       Console.ReadLine();  
     }  
   }  
   static void PrintServiceInfo(ServiceHost host)  
   {  
     Console.WriteLine(&quot;{0} is up and running with these endpoints:&quot;,  
       host.Description.ServiceType);  
     foreach (ServiceEndpoint se in host.Description.Endpoints)  
       Console.WriteLine(se.Address);  
   }  
 }  
&lt;/pre&gt;
&lt;br /&gt;
The result is like this.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinOmfCIm8YNhyOstRjP_ROilfH79sj7mh4c2vI3lK8Azf65R_foefYPSwqQPgiHfKqLc3Ysxpd5nDiKBDeP-GTWkEgSpyjYEBY1sQuouEOSi76uNKATXvzEdJrzaG36H8mPoG8mPqGXLsT/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;464&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinOmfCIm8YNhyOstRjP_ROilfH79sj7mh4c2vI3lK8Azf65R_foefYPSwqQPgiHfKqLc3Ysxpd5nDiKBDeP-GTWkEgSpyjYEBY1sQuouEOSi76uNKATXvzEdJrzaG36H8mPoG8mPqGXLsT/s640/1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
So remarkably, you need run visual studio as &lt;b&gt;Administrator&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;WCF app.config Editor&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
You may feel pain to write app.config for WCF. There is excellent configuration tool for you.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSek6W_xBm0i8jJetlkU33lraLJnRF-JRAGPq3IOuOQlFq8X6OmWb4ysZ04A9vXlU6Yzb84ucasm6K1SJU1mtEHVs6g_p1oDQcyhlxPvg7_QZCBok0OCiGV-NBZHKbvZ9SrDJ7ohgLsegg/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;229&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSek6W_xBm0i8jJetlkU33lraLJnRF-JRAGPq3IOuOQlFq8X6OmWb4ysZ04A9vXlU6Yzb84ucasm6K1SJU1mtEHVs6g_p1oDQcyhlxPvg7_QZCBok0OCiGV-NBZHKbvZ9SrDJ7ohgLsegg/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
You can easily edit app.config from GUI.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg90v_ELAMBU8LlzLzJYchDQmoLWfbNZiAkujzWwCeRpDEZf-nJuab0R_4_bb_FkixKKJgR2wZXMRmHZQyzmPvGjvvAdmP64imqDldMdzO76v-doYaITEAEXPLctahmB9kj5K7pZmetSGx7/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;428&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg90v_ELAMBU8LlzLzJYchDQmoLWfbNZiAkujzWwCeRpDEZf-nJuab0R_4_bb_FkixKKJgR2wZXMRmHZQyzmPvGjvvAdmP64imqDldMdzO76v-doYaITEAEXPLctahmB9kj5K7pZmetSGx7/s640/3.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/7733741736097762776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/04/running-wcf-with-console-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/7733741736097762776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/7733741736097762776'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/04/running-wcf-with-console-application.html' title='Running WCF with Console Application and introducing useful app.config editor tool'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinOmfCIm8YNhyOstRjP_ROilfH79sj7mh4c2vI3lK8Azf65R_foefYPSwqQPgiHfKqLc3Ysxpd5nDiKBDeP-GTWkEgSpyjYEBY1sQuouEOSi76uNKATXvzEdJrzaG36H8mPoG8mPqGXLsT/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-6974609904388094630</id><published>2012-04-05T01:08:00.002+09:00</published><updated>2012-04-05T01:09:51.689+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF"/><title type='text'>Entry of Windows Communication Service (WCF)</title><content type='html'>I&#39;m studying WCF. It&#39;s so nice and useful framework so that I&#39;m going to log my understanding into the blog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The simple WCF code is here.&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; [DataContract]  
 public class Eval  
 {  
   [DataMember]  
   public string Submitter;  
   [DataMember]  
   public DateTime Timesent;  
   [DataMember]  
   public string Comments;  
 }  
 [ServiceContract]  
 public interface IEvalService  
 {  
   [OperationContract]  
   void SubmitEval(Eval eval);  
   [OperationContract]  
   List&amp;lt;Eval&amp;gt; GetEvals();  
 }  
[ServiceBehavior(InstanceContextMode=InstanceContextMode.Single, 
    ConcurrencyMode=ConcurrencyMode.Multiple)]
 public class EvalService : IEvalService  
 {  
   List&amp;lt;Eval&amp;gt; evals = new List&amp;lt;Eval&amp;gt;();  
   public void SubmitEval(Eval eval)  
   {  
     evals.Add(eval);  
   }  
   public List&amp;lt;Eval&amp;gt; GetEvals()  
   {  
     return evals;  
   }  
 }  
&lt;/pre&gt;
&lt;br /&gt;
So, I studied new things about&amp;nbsp;ServiceBehavior attribute.&lt;br /&gt;
ServiceBehavior&amp;nbsp;has two enum parameters mainly that are&amp;nbsp;InstanceContextMode and&amp;nbsp;ConcurrencyMode.&lt;br /&gt;
InstanceContextMode&amp;nbsp;has Single, Percall, and Persession that are about instanciation. Also&amp;nbsp;ConcurrencyMode has Single, Multiple, and Reentrant that are about threading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In detail, here is msdn documents.&lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.servicemodel.servicebehaviorattribute.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/system.servicemodel.servicebehaviorattribute.aspx&lt;/a&gt;
&lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.servicemodel.instancecontextmode.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/system.servicemodel.instancecontextmode.aspx&lt;/a&gt;
&lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.servicemodel.concurrencymode.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/system.servicemodel.concurrencymode.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&#39;m going to continue this series depend on my study progress.&lt;br /&gt;
Thanks.</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/6974609904388094630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/04/entry-of-windows-communication-service.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/6974609904388094630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/6974609904388094630'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/04/entry-of-windows-communication-service.html' title='Entry of Windows Communication Service (WCF)'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-8100677565706457251</id><published>2012-03-19T00:17:00.000+09:00</published><updated>2012-03-19T00:18:18.606+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Memo App"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><title type='text'>My memo app supports multilingualization in new version 1.7</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz0g2ceTK2Ul2bCh-1JaT6UW4Ge_yOaSW__wlquV-jviuUqZf-jd40XiHJklx3eS6cwmELf9oHXKn1gfcHYl0y3YC2ef_7J0J5MNhqvB-yYHaolewBNrAjbMxb8s-fVNtzPPoO9D24A5fv/s1600/20111120004659.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz0g2ceTK2Ul2bCh-1JaT6UW4Ge_yOaSW__wlquV-jviuUqZf-jd40XiHJklx3eS6cwmELf9oHXKn1gfcHYl0y3YC2ef_7J0J5MNhqvB-yYHaolewBNrAjbMxb8s-fVNtzPPoO9D24A5fv/s200/20111120004659.png&quot; width=&quot;198&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://windowsphone.com/s?appid=01fada6f-ff7e-451b-b0b0-3bf3a5c0f655&quot; style=&quot;background-color: white; border-bottom-color: rgb(255, 107, 209); border-left-color: rgb(255, 107, 209); border-right-color: rgb(255, 107, 209); border-top-color: rgb(255, 107, 209); color: #ff6bd1; font-family: &#39;Lucida Grande&#39;, &#39;Hiragino Kaku Gothic Pro&#39;, &#39;ヒラギノ角ゴ Pro W3&#39;, Verdana, &#39;ＭＳ Ｐゴシック&#39;, sans-serif; font-size: 13px; line-height: 20px; text-align: left;&quot; target=&quot;_blank&quot;&gt;http://windowsphone.com/s?appid=01fada6f-ff7e-451b-b0b0-3bf3a5c0f655&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I&#39;m really happy to announce my memo app&#39;s new release version 1.7 !&lt;br /&gt;
In new version, my &lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;memo app supports&amp;nbsp;multilingualization&lt;/span&gt;&lt;/b&gt; that are English and Japanese.&lt;br /&gt;
&lt;br /&gt;
And second feature is that &lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;you can choose character color (black or white)&lt;/span&gt;&lt;/b&gt;. You can customize character color and background color as you want.&lt;br /&gt;
&lt;br /&gt;
So, please check the function in bellow Yourtube video.&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;480&quot; src=&quot;http://www.youtube.com/embed/R1V9QK9APNM&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Please download my memo app in your Windows Phone !&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
Thanks.</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/8100677565706457251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/03/my-memo-app-support-multilingualization.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/8100677565706457251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/8100677565706457251'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/03/my-memo-app-support-multilingualization.html' title='My memo app supports multilingualization in new version 1.7'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz0g2ceTK2Ul2bCh-1JaT6UW4Ge_yOaSW__wlquV-jviuUqZf-jd40XiHJklx3eS6cwmELf9oHXKn1gfcHYl0y3YC2ef_7J0J5MNhqvB-yYHaolewBNrAjbMxb8s-fVNtzPPoO9D24A5fv/s72-c/20111120004659.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-522025986232840879</id><published>2012-03-18T00:47:00.003+09:00</published><updated>2012-03-18T00:47:57.194+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><category scheme="http://www.blogger.com/atom/ns#" term="xaml"/><title type='text'>Cannot bind two types of data source to one UI target</title><content type='html'>I was also struggling the problem when I made binding between data source and UI ListBox target.&lt;br /&gt;
Today, I&#39;d like to introduce the problem that we &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;cannot bind &quot;non-INotifyPropertyChanged property&quot; and &quot;INotifyPropertyChanged property&quot; to same ListBox target&lt;/span&gt;.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
First, I had written property binding like this. I had used &quot;non-INotifyPropertyChanged property&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;The xaml code is here.&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; &amp;lt;ListBox Height=&quot;595&quot; ItemsSource=&quot;{Binding}&quot; HorizontalAlignment=&quot;Left&quot; Margin=&quot;12,6,0,0&quot; Name=&quot;listBox1&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;438&quot;&amp;gt;  
   &amp;lt;ListBox.ItemTemplate&amp;gt;  
     &amp;lt;DataTemplate&amp;gt;  
       &amp;lt;StackPanel HorizontalAlignment=&quot;Stretch&quot; Orientation=&quot;Horizontal&quot;&amp;gt;  
         &amp;lt;TextBlock x:Name=&quot;Name1&quot; FontSize=&quot;35&quot; Text=&quot;{Binding Text1}&quot; Foreground=&quot;Black&quot;/&amp;gt;  
         &amp;lt;TextBlock x:Name=&quot;Name2&quot; FontSize=&quot;35&quot; Text=&quot;{Binding Text2}&quot; Foreground=&quot;Black&quot;/&amp;gt;  
       &amp;lt;/StackPanel&amp;gt;  
     &amp;lt;/DataTemplate&amp;gt;  
   &amp;lt;/ListBox.ItemTemplate&amp;gt;  
 &amp;lt;/ListBox&amp;gt;  
&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;The code behind is here.&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; public partial class MainPage : PhoneApplicationPage  
 {  
   // Constructor  
   public MainPage()  
   {  
     InitializeComponent();  
     GetList();  
   }  

   public void GetList()  
   {  
     List&amp;lt;ItemProperties&amp;gt; items = new List&amp;lt;ItemProperties&amp;gt;();  
     items.Add(new ItemProperties { Text1 = &quot;test01&quot;, Text2 = &quot;test02&quot; });  
     items.Add(new ItemProperties { Text1 = &quot;test11&quot;, Text2 = &quot;test12&quot; });  
     listBox1.ItemsSource = items;  
   }  
 }  

 public class ItemProperties  
 {  
   private string m_Text1;  
   public string Text1  
   {  
     get { return m_Text1; }  
     set { m_Text1 = value; }  
   }  

   private string m_Text2;  
   public string Text2  
   {  
     get { return m_Text2; }  
     set { m_Text2 = value; }  
   }  
 }  
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Second, I wanted to bind Foreground color in ListBox. So, I added &quot;INotifyPropertyChanged property&quot; as Foreground colors.&lt;br /&gt;
The code is like this. But I found I couldn&#39;t bind&amp;nbsp;&quot;INotifyPropertyChanged property&quot; to Foreground color in this code.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;The xaml code is here.&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; &amp;lt;ListBox Height=&quot;595&quot; ItemsSource=&quot;{Binding}&quot; HorizontalAlignment=&quot;Left&quot; Margin=&quot;12,6,0,0&quot; Name=&quot;listBox1&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;438&quot;&amp;gt;  
   &amp;lt;ListBox.ItemTemplate&amp;gt;  
     &amp;lt;DataTemplate&amp;gt;  
       &amp;lt;StackPanel HorizontalAlignment=&quot;Stretch&quot; Orientation=&quot;Horizontal&quot;&amp;gt;  
         &amp;lt;TextBlock x:Name=&quot;Name1&quot; FontSize=&quot;35&quot; Text=&quot;{Binding Text1}&quot; Foreground=&quot;{Binding Color1}&quot;/&amp;gt;  
         &amp;lt;TextBlock x:Name=&quot;Name2&quot; FontSize=&quot;35&quot; Text=&quot;{Binding Text2}&quot; Foreground=&quot;{Binding Color2}&quot;/&amp;gt;  
       &amp;lt;/StackPanel&amp;gt;  
     &amp;lt;/DataTemplate&amp;gt;  
   &amp;lt;/ListBox.ItemTemplate&amp;gt;  
 &amp;lt;/ListBox&amp;gt;  
&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;The code behind is here.&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; public partial class MainPage : PhoneApplicationPage  
 {  
   public ObservableCollection&amp;lt;ItemProperties2&amp;gt; ItemCollection { get; private set; }  
   // Constructor  
   public MainPage()  
   {  
     InitializeComponent();  
     GetList();  
     GetList2();  
   }  

   public void GetList()  
   {  
     List&amp;lt;ItemProperties&amp;gt; items = new List&amp;lt;ItemProperties&amp;gt;();  
     items.Add(new ItemProperties { Text1 = &quot;test01&quot;, Text2 = &quot;test02&quot; });  
     items.Add(new ItemProperties { Text1 = &quot;test11&quot;, Text2 = &quot;test12&quot; });  
     listBox1.ItemsSource = items;  
   }  

   public void GetList2()  
   {  
     ItemCollection = new ObservableCollection&amp;lt;ItemProperties2&amp;gt;();  
     ItemCollection.Add(new ItemProperties2  
     {  
       Color1 = new SolidColorBrush(Colors.LightGray),  
       Color2 = new SolidColorBrush(Colors.Brown)  
     });  
     ItemCollection.Add(new ItemProperties2  
     {  
       Color1 = new SolidColorBrush(Colors.Cyan),  
       Color2 = new SolidColorBrush(Colors.Red)  
     });  
     DataContext = ItemCollection;  
   }  
 }  

 public class ItemProperties  
 {  
   private string m_Text1;  
   public string Text1  
   {  
     get { return m_Text1; }  
     set { m_Text1 = value; }  
   }  

   private string m_Text2;  
   public string Text2  
   {  
     get { return m_Text2; }  
     set { m_Text2 = value; }  
   }  
 }  

 public class ItemProperties2 : INotifyPropertyChanged  
 {  
   public event PropertyChangedEventHandler PropertyChanged;  
   public ItemProperties2() { }  

   private Brush m_Color1;  
   public Brush Color1  
   {  
     get { return m_Color1; }  
     set  
     {  
       m_Color1 = value;  
       OnPropertyChanged(&quot;Color1&quot;);  
     }  
   }  

   private Brush m_Color2;  
   public Brush Color2  
   {  
     get { return m_Color2; }  
     set  
     {  
       m_Color2 = value;  
       OnPropertyChanged(&quot;Color2&quot;);  
     }  
   }  

   protected void OnPropertyChanged(string name)  
   {  
     PropertyChangedEventHandler handler = this.PropertyChanged;  
     if (handler != null)  
       handler(this, new PropertyChangedEventArgs(name));  
   }  
 } 
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;It seems that&amp;nbsp;&quot;non-INotifyPropertyChanged property&quot; is given priority over&amp;nbsp;&quot;INotifyPropertyChanged property&quot;.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I think the problem is a little foolish in now. But If your code is quite large amount, you may not be able to find the problem immediately.&lt;br /&gt;
I write previous blog post as&amp;nbsp;&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.jp/2012/03/property-binding-using.html&quot;&gt;the answer for the problem&lt;/a&gt;&lt;/b&gt;. Please check it also.&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/522025986232840879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/03/cannot-bind-two-types-of-data-source-to.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/522025986232840879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/522025986232840879'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/03/cannot-bind-two-types-of-data-source-to.html' title='Cannot bind two types of data source to one UI target'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-9043061469563485523</id><published>2012-03-14T23:15:00.000+09:00</published><updated>2012-03-14T23:19:12.738+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><category scheme="http://www.blogger.com/atom/ns#" term="xaml"/><title type='text'>Suddenly my application crashes without errors when using property binding</title><content type='html'>I introduced property binding in a &lt;a href=&quot;http://myprogrammingdial.blogspot.com/2012/03/property-binding-using.html&quot;&gt;&lt;b&gt;previous blog post&lt;/b&gt;&lt;/a&gt;. Today, I introduce a problem when I write code of property binding.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Property binding is easy to mistake property names. If you mistake property name, you can&#39;t bind property correctly but also an application suddenly crashes without any errors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, please look at this code attentively. If you write such code, you can pass build action, but your application crashes suddenly without errors.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; public class ItemProperties : INotifyPropertyChanged  
 {  
   public event PropertyChangedEventHandler PropertyChanged;  
   public ItemProperties() { }  

   private string m_Text1;  
   public string Text1  
   {  
     get { return Text1; }  
     set  
     {  
       m_Text1 = value;  
       OnPropertyChanged(&quot;Text1&quot;);  
     }  
   }  

   protected void OnPropertyChanged(string name)  
   {  
     PropertyChangedEventHandler handler = this.PropertyChanged;  
     if (handler != null)  
       handler(this, new PropertyChangedEventArgs(name));  
   }  
 } 
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
The wrong code is here. If you write like this, your application suddenly shutdown.&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;get { return Text1; }  

&lt;/pre&gt;
You need to write like this.&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;get { return m_Text1; }  

&lt;/pre&gt;
&lt;br /&gt;
I don&#39;t know why debugger can&#39;t catch error, but I noticed we need to pay attention when we use property binding.</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/9043061469563485523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/03/suddenly-my-application-crashes-without.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/9043061469563485523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/9043061469563485523'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/03/suddenly-my-application-crashes-without.html' title='Suddenly my application crashes without errors when using property binding'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-1094941683983671241</id><published>2012-03-09T00:56:00.001+09:00</published><updated>2012-03-18T15:37:45.217+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><category scheme="http://www.blogger.com/atom/ns#" term="xaml"/><title type='text'>Property Binding using INotifyPropertyChanged and ObservableCollection</title><content type='html'>I was struggling against property binding using INotifyPropertyChanged and ObservableCollection.&lt;br /&gt;
Today, I introduce how to bind from&amp;nbsp;properties in a&amp;nbsp;class to UI properties by using&amp;nbsp;INotifyPropertyChanged and ObservableCollection. And I&#39;ll show you the problem I encountered in &lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2012/03/suddenly-my-application-crashes-without.html&quot;&gt;next blog post&lt;/a&gt;&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Sample code of property binding&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
I introduce a sample code binding from properties in ItemProperties class to TextBlock&#39;s properties in ListBox (One Way).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5Fx8ZZ_jxzcWGMSdz4mAvg_5pXZaWErgcNOsOk_aByKaJ5qWSLlZRUBl5aveyKsNebEKH5FN9JzldDVFyfSrZIRNe3inbb5ljt5xe4YvSUSZt3jPPHHmzXi5Xe-BB5JfuDEXZ7R0v1CFj/s1600/binding.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;499&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5Fx8ZZ_jxzcWGMSdz4mAvg_5pXZaWErgcNOsOk_aByKaJ5qWSLlZRUBl5aveyKsNebEKH5FN9JzldDVFyfSrZIRNe3inbb5ljt5xe4YvSUSZt3jPPHHmzXi5Xe-BB5JfuDEXZ7R0v1CFj/s640/binding.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;The xaml code is here.&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; &amp;lt;ListBox Height=&quot;595&quot; ItemsSource=&quot;{Binding}&quot; HorizontalAlignment=&quot;Left&quot; Margin=&quot;12,6,0,0&quot; Name=&quot;listBox1&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;438&quot;&amp;gt;  
   &amp;lt;ListBox.ItemTemplate&amp;gt;  
     &amp;lt;DataTemplate&amp;gt;  
       &amp;lt;StackPanel HorizontalAlignment=&quot;Stretch&quot; Orientation=&quot;Horizontal&quot;&amp;gt;  
         &amp;lt;TextBlock x:Name=&quot;Name1&quot; FontSize=&quot;35&quot; Text=&quot;{Binding Text1}&quot; Foreground=&quot;{Binding Color1}&quot;/&amp;gt;  
         &amp;lt;TextBlock x:Name=&quot;Name2&quot; FontSize=&quot;35&quot; Text=&quot;{Binding Text2}&quot; Foreground=&quot;{Binding Color2}&quot;/&amp;gt;  
       &amp;lt;/StackPanel&amp;gt;  
     &amp;lt;/DataTemplate&amp;gt;  
   &amp;lt;/ListBox.ItemTemplate&amp;gt;  
 &amp;lt;/ListBox&amp;gt;  
&lt;/pre&gt;
&lt;div&gt;
&lt;b&gt;- Point -&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
You need to add&amp;nbsp;ItemsSource=&quot;{Binding}&quot; in ListBx to bind properties from code behind. You also should not add like&amp;nbsp;ItemsSource=&quot;{Binding Collection}&quot;, just write&amp;nbsp;&quot;{Binding}&quot;.&lt;br /&gt;
&lt;br /&gt;
When you use DataTemplate in ListBox, you can&#39;t write like this in code behind.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;Name1.Foreground = new SolidColorBrush(Colors.LightGray);
&lt;/pre&gt;
&lt;br /&gt;
So you need to bind from properties as a class to UI &amp;nbsp;properties. Almost all of UI element properties (ex. Foreground, Text, any more) are implemented as dependency property. You can bind&amp;nbsp;from properties as a class to UI &amp;nbsp;properties using&amp;nbsp;dependency property. You can&#39;t bind using usual property.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;The code behind is here.&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; public partial class MainPage : PhoneApplicationPage  
 {  
   public ObservableCollection&amp;lt;ItemProperties&amp;gt; ItemCollection { get; private set; }  
   // Constructor  
   public MainPage()  
   {  
     InitializeComponent();  
     GetList();  
   }  

   public void GetList()  
   {  
     ItemCollection = new ObservableCollection&amp;lt;ItemProperties&amp;gt;();  
     ItemCollection.Add(new ItemProperties  
     {  
       Text1 = &quot;test01&quot;,  
       Text2 = &quot;test01&quot;,  
       Color1 = new SolidColorBrush(Colors.LightGray),  
       Color2 = new SolidColorBrush(Colors.Brown)  
     });  

     ItemCollection.Add(new ItemProperties  
     {  
       Text1 = &quot;test02&quot;,  
       Text2 = &quot;test02&quot;,  
       Color1 = new SolidColorBrush(Colors.Cyan),  
       Color2 = new SolidColorBrush(Colors.Red)  
     });  

     ItemCollection.Add(new ItemProperties  
     {  
       Text1 = &quot;test03&quot;,  
       Text2 = &quot;test03&quot;,  
       Color1 = new SolidColorBrush(Colors.Orange),  
       Color2 = new SolidColorBrush(Colors.Purple)  
     });  

     DataContext = ItemCollection;  
   }  
 }  

 public class ItemProperties : INotifyPropertyChanged  
 {  
   public event PropertyChangedEventHandler PropertyChanged;  
   public ItemProperties() { }  

   private string m_Text1;  
   public string Text1  
   {  
     get { return m_Text1; }  
     set  
     {  
       m_Text1 = value;  
       OnPropertyChanged(&quot;Text1&quot;);  
     }  
   }  

   private string m_Text2;  
   public string Text2  
   {  
     get { return m_Text2; }  
     set  
     {  
       m_Text2 = value;  
       OnPropertyChanged(&quot;Text2&quot;);  
     }  
   }  

   private Brush m_Color1;  
   public Brush Color1  
   {  
     get { return m_Color1; }  
     set  
     {  
       m_Color1 = value;  
       OnPropertyChanged(&quot;Color1&quot;);  
     }  
   }  

   private Brush m_Color2;  
   public Brush Color2  
   {  
     get { return m_Color2; }  
     set  
     {  
       m_Color2 = value;  
       OnPropertyChanged(&quot;Color2&quot;);  
     }  
   }  

   protected void OnPropertyChanged(string name)  
   {  
     PropertyChangedEventHandler handler = this.PropertyChanged;  
     if (handler != null)  
       handler(this, new PropertyChangedEventArgs(name));  
   }  
 } 
&lt;/pre&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Result&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtSL9eJbb80r986uiLUG2FV2gdpEJW-Nw2YbdRrjAfLrhk-i0I-WdpUfLPv47klGCahhPyWPaagS1ufjARADKGDlvH94Ianq8hWFwtcfi0xdu0at3MJ5wQU_ekVYak_vUAy63yuAoPLCsH/s1600/result.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtSL9eJbb80r986uiLUG2FV2gdpEJW-Nw2YbdRrjAfLrhk-i0I-WdpUfLPv47klGCahhPyWPaagS1ufjARADKGDlvH94Ianq8hWFwtcfi0xdu0at3MJ5wQU_ekVYak_vUAy63yuAoPLCsH/s640/result.png&quot; width=&quot;351&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/1094941683983671241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/03/property-binding-using.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/1094941683983671241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/1094941683983671241'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/03/property-binding-using.html' title='Property Binding using INotifyPropertyChanged and ObservableCollection'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5Fx8ZZ_jxzcWGMSdz4mAvg_5pXZaWErgcNOsOk_aByKaJ5qWSLlZRUBl5aveyKsNebEKH5FN9JzldDVFyfSrZIRNe3inbb5ljt5xe4YvSUSZt3jPPHHmzXi5Xe-BB5JfuDEXZ7R0v1CFj/s72-c/binding.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-7674966681741923483</id><published>2012-01-16T23:20:00.002+09:00</published><updated>2012-01-18T21:02:16.324+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Memo App"/><title type='text'>My memo app became No.1 in Japan region ranking !</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBmSJ-ix6oSWF-dXq13C2mzZKj1A96nUM0fuEpz2onsFC7SesMcdhuqTSvQ-zQ-ayggDpDAUJ0YZsTVxkoWnElvZgQUpjXgeX_6DKGzAbAB6HFZHUIW8HgbbxP0d6nX9XN4yQARr087hD-/s1600/1.bmp&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBmSJ-ix6oSWF-dXq13C2mzZKj1A96nUM0fuEpz2onsFC7SesMcdhuqTSvQ-zQ-ayggDpDAUJ0YZsTVxkoWnElvZgQUpjXgeX_6DKGzAbAB6HFZHUIW8HgbbxP0d6nX9XN4yQARr087hD-/s640/1.bmp&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.windowsphone.com/ja-JP/categories/toolsandproductivity?list=top&amp;amp;wa=wsignin1.0&quot;&gt;http://www.windowsphone.com/ja-JP/categories/toolsandproductivity?list=top&amp;amp;wa=wsignin1.0&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;My memo app became No.1 in &quot;tools + productivity&quot; in Japan region ranking !&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
I really want to say thanks so much and &lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;please download trial version&lt;/span&gt;&lt;/b&gt; if you don&#39;t use it yet.&lt;br /&gt;
The memo app is simple and you can note a short memo. (ex, buying list)&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;new feature in ver.1.3&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP8us1AQLBc9Rm5-UNueLr3oRM0zUpHVsRBV8O8fUSPyGuBZzJQCzbYEBxnlm5Ws1iBiErKPGQSGqG6jcNLSqsyRzmRNe0HcOykSt_Cet5lXDsJEewT6cxf6_LrC80TmGBTLtDktREBH7s/s1600/10.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP8us1AQLBc9Rm5-UNueLr3oRM0zUpHVsRBV8O8fUSPyGuBZzJQCzbYEBxnlm5Ws1iBiErKPGQSGqG6jcNLSqsyRzmRNe0HcOykSt_Cet5lXDsJEewT6cxf6_LrC80TmGBTLtDktREBH7s/s400/10.png&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
You can clip memo to tile from ver1.3. This is most fantastic feature in previous updates.&lt;/div&gt;
&lt;div&gt;
Please see the movie and check the feature.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/zSZu1ulTrx8&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;If you can&#39;t download memo app,&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Please visit this page on Windows Phone, and click &quot;download trial version&quot;.&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.windowsphone.com/en-us/apps/01fada6f-ff7e-451b-b0b0-3bf3a5c0f655?wa=wsignin1.0&quot;&gt;http://www.windowsphone.com/en-us/apps/01fada6f-ff7e-451b-b0b0-3bf3a5c0f655?wa=wsignin1.0&lt;/a&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Or you can search memo app, &quot;memos&quot;, &quot;note&quot;, &quot;notes&quot;, like this.&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/7674966681741923483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/01/my-memo-app-became-no1-in-japan-region.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/7674966681741923483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/7674966681741923483'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/01/my-memo-app-became-no1-in-japan-region.html' title='My memo app became No.1 in Japan region ranking !'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBmSJ-ix6oSWF-dXq13C2mzZKj1A96nUM0fuEpz2onsFC7SesMcdhuqTSvQ-zQ-ayggDpDAUJ0YZsTVxkoWnElvZgQUpjXgeX_6DKGzAbAB6HFZHUIW8HgbbxP0d6nX9XN4yQARr087hD-/s72-c/1.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-4902231719430773858</id><published>2012-01-16T00:39:00.000+09:00</published><updated>2012-01-18T01:17:50.987+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><title type='text'>How to solve the problem that you can&#39;t display a imge file from IsolatedStorage to web browser</title><content type='html'>If you have a experience that you try to display a image from IsolatedStorage to web browser as img tag, you notice you can&#39;t make it.&lt;br /&gt;
&lt;br /&gt;
For instance, a image file (test.jpg) doesn&#39;t display in like html source.&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; string htmlSource = @&quot;&amp;lt;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39;?&amp;gt;  
             &amp;lt;html&amp;gt;  
             &amp;lt;head&amp;gt;  
               &amp;lt;meta http-equiv=&#39;Content-Type&#39; content=&#39;text/html;charset=UTF-8&#39; /&amp;gt;  
             &amp;lt;/head&amp;gt;  
             &amp;lt;body&amp;gt;  
               &amp;lt;img src=&#39;isostore:/Shared/ShellContent/test.jpg&#39;&amp;gt;  
             &amp;lt;/body&amp;gt;  
             &amp;lt;/html&amp;gt;  
               &quot;;  
 this.webBrowser1.NavigateToString(htmlSource);  
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
So, if you want to display a image file from IsolatedStorage, &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;you need to generate Base64 String object from the image file and use Javascript&lt;/span&gt;&lt;/b&gt; to display a image file in html source code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sample code is like this.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;First, generate Base64 String object from Image object.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; public string ImageToBase64(Image image, System.Drawing.Imaging.ImageFormat format)  
 {  
  using (MemoryStream ms = new MemoryStream())  
  {  
   // Convert Image to byte[]  
   image.Save(ms, format);  
   byte[] imageBytes = ms.ToArray();  
   // Convert byte[] to Base64 String  
   string base64String = Convert.ToBase64String(imageBytes);  
   return base64String;  
  }  
 }  
&lt;/pre&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Second, display a image using Javascript.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;string base64String = ImageToBase64(image, format);  
 string htmlSource = @&quot;&amp;lt;html&amp;gt;  
             &amp;lt;head&amp;gt;  
             &amp;lt;/head&amp;gt;  
             &amp;lt;body&amp;gt;  
               &amp;lt;img id=&#39;icon_here&#39;&amp;gt;  
               &amp;lt;script&amp;gt;  
                 var data = &#39;data:image/gif;base64,&quot; + base64String + @&quot;&#39;;  
                 var icon_elem = document.getElementById(&#39;icon_here&#39;);  
                 icon_elem.src = data;  
               &amp;lt;/script&amp;gt;  
             &amp;lt;/body&amp;gt;  
             &amp;lt;/html&amp;gt;&quot;;  
 this.webBrowser1.NavigateToString(htmlSource);  
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
You can display a image like this.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisgGn5cDT4MzR8iZlgqd4XYnlI6tCfP_awHgeOBJYYe-PJGNJHt2YKDKGGYDZS8Ust7vXMvubMFxIYuz_A9y3Vk3klI25RtJQHrFxMIrtJnFAEHoBMFgw50gy2bApRagTNiPLDCKTWMt8P/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisgGn5cDT4MzR8iZlgqd4XYnlI6tCfP_awHgeOBJYYe-PJGNJHt2YKDKGGYDZS8Ust7vXMvubMFxIYuz_A9y3Vk3klI25RtJQHrFxMIrtJnFAEHoBMFgw50gy2bApRagTNiPLDCKTWMt8P/s400/3.png&quot; width=&quot;219&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have a great idea about the problem, please reply comment.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Edit. 2011/01/16&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
I got a comment of great idea about the problem. &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;You don&#39;t need to use Javascript&lt;/b&gt;&lt;/span&gt;. Simply, add BASE64 string to src attribute.&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; string source = @&quot;&amp;lt;html&amp;gt;  
           &amp;lt;head&amp;gt;  
           &amp;lt;/head&amp;gt;  
           &amp;lt;body&amp;gt;  
             &amp;lt;img src=&#39;data:image/gif;base64,&quot; + base64String + @&quot;&#39;&amp;gt;  
           &amp;lt;/body&amp;gt;  
          &amp;lt;/html&amp;gt;&quot;;  
 this.webBrowser1.NavigateToString(source);  
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/4902231719430773858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/01/how-to-solve-problem-that-you-cant.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/4902231719430773858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/4902231719430773858'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/01/how-to-solve-problem-that-you-cant.html' title='How to solve the problem that you can&#39;t display a imge file from IsolatedStorage to web browser'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisgGn5cDT4MzR8iZlgqd4XYnlI6tCfP_awHgeOBJYYe-PJGNJHt2YKDKGGYDZS8Ust7vXMvubMFxIYuz_A9y3Vk3klI25RtJQHrFxMIrtJnFAEHoBMFgw50gy2bApRagTNiPLDCKTWMt8P/s72-c/3.png" height="72" width="72"/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-1875467874311985061</id><published>2012-01-09T00:10:00.000+09:00</published><updated>2012-01-09T11:50:34.071+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><title type='text'>Character Corruption of Japanese Language on Web Browser</title><content type='html'>You can use build-in web browser in your application on Windows Phone. Using web browser in your app, you can display like rich text page which has images, a few fonts, javascripts or etc.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The sample code is here.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
- xaml&lt;/div&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; &amp;lt;Grid x:Name=&quot;ContentPanel&quot; Grid.Row=&quot;1&quot; Margin=&quot;12,0,12,0&quot;&amp;gt;  
   &amp;lt;phone:WebBrowser HorizontalAlignment=&quot;Left&quot; Name=&quot;webBrowser1&quot; VerticalAlignment=&quot;Top&quot; Height=&quot;607&quot; Width=&quot;456&quot; /&amp;gt;  
 &amp;lt;/Grid&amp;gt;  
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- code behind&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; public MainPage()  
 {  
   InitializeComponent();  
   this.webBrowser1.NavigateToString(@&quot;  
           &amp;lt;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39;?&amp;gt;  
           &amp;lt;html&amp;gt;  
             &amp;lt;head&amp;gt;  
             &amp;lt;meta http-equiv=&#39;Content-Type&#39; content=&#39;text/html;charset=UTF-8&#39; /&amp;gt;  
             &amp;lt;/head&amp;gt;  
             &amp;lt;body&amp;gt;  
             テストページです。  
             &amp;lt;/body&amp;gt;  
           &amp;lt;/html&amp;gt;  
           &quot;);  
 }  
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In above sample, Japanese character is used in body in html source. If you run the program, the&amp;nbsp;Japanese character should be character corruption like here.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOHEFtxq_FAiNIUrWByhhfMGcIapD9A4N7IgVgLY9wNvZBgQsPnuX4n2BRElXdqNLHEfpaJh6kihRQhlNw_dFYhUYRRH2FGoLa5ZEyflWkKnzKo-V-NI12w-EIJO6pFG9oCIBwm-zPOSh_/s1600/phone.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOHEFtxq_FAiNIUrWByhhfMGcIapD9A4N7IgVgLY9wNvZBgQsPnuX4n2BRElXdqNLHEfpaJh6kihRQhlNw_dFYhUYRRH2FGoLa5ZEyflWkKnzKo-V-NI12w-EIJO6pFG9oCIBwm-zPOSh_/s400/phone.png&quot; width=&quot;218&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To solve the problem, you need to convert ASCII format to display Japanese correctly.&lt;br /&gt;
The sample method &quot;ConvertExtendedASCII&quot; is like this.&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; private static string ConvertExtendedASCII(string HTML)  
 {  
   string retVal = &quot;&quot;;  
   char[] s = HTML.ToCharArray();  
   foreach (char c in s)  
   {  
     if (Convert.ToInt32(c) &amp;gt; 127)  
       retVal += &quot;&amp;amp;#&quot; + Convert.ToInt32(c) + &quot;;&quot;;  
     else  
       retVal += c;  
   }  
   return retVal;  
 }  

 public MainPage()  
 {  
   InitializeComponent();  
   string HTML = @&quot;  
           &amp;lt;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39;?&amp;gt;  
           &amp;lt;html&amp;gt;  
             &amp;lt;head&amp;gt;  
             &amp;lt;meta http-equiv=&#39;Content-Type&#39; content=&#39;text/html;charset=UTF-8&#39; /&amp;gt;  
             &amp;lt;/head&amp;gt;  
             &amp;lt;body&amp;gt;  
             テストページです。  
             &amp;lt;/body&amp;gt;  
           &amp;lt;/html&amp;gt;  
           &quot;;  
   this.webBrowser1.NavigateToString(ConvertExtendedASCII(HTML));  
 }  
&lt;/pre&gt;
&lt;br /&gt;
The result is here.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_kPC3jTW5NYmEfoTMEmz9imd5heY2LlOCDJ3hTEN-6gzgdtaX6OWyDGZtm0VFZ-40YjxzVXUaxctUHdvzBl7M6xW1vcPj6fvvLKHJBvw0MWpr9g1vdaVZ73eQZaroLlh5jiKn73d4yKoq/s1600/phone2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_kPC3jTW5NYmEfoTMEmz9imd5heY2LlOCDJ3hTEN-6gzgdtaX6OWyDGZtm0VFZ-40YjxzVXUaxctUHdvzBl7M6xW1vcPj6fvvLKHJBvw0MWpr9g1vdaVZ73eQZaroLlh5jiKn73d4yKoq/s400/phone2.png&quot; width=&quot;218&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The&amp;nbsp;ConvertExtendedASCII method takes so much time if you convert big size html. So, you need to run the method in different thread from UI thread.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/1875467874311985061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/01/character-corruption-of-japanese.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/1875467874311985061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/1875467874311985061'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2012/01/character-corruption-of-japanese.html' title='Character Corruption of Japanese Language on Web Browser'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOHEFtxq_FAiNIUrWByhhfMGcIapD9A4N7IgVgLY9wNvZBgQsPnuX4n2BRElXdqNLHEfpaJh6kihRQhlNw_dFYhUYRRH2FGoLa5ZEyflWkKnzKo-V-NI12w-EIJO6pFG9oCIBwm-zPOSh_/s72-c/phone.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-4193592324070243342</id><published>2011-12-29T20:11:00.001+09:00</published><updated>2012-01-02T14:40:43.079+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Memo App"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><category scheme="http://www.blogger.com/atom/ns#" term="xaml"/><title type='text'>How to Generate Tile Image from StackPanel</title><content type='html'>You can make your original live tiles from your application by using&amp;nbsp;&lt;b&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.phone.shell.standardtiledata(VS.92).aspx&quot;&gt;StandardTileData&lt;/a&gt;&lt;/b&gt;.&lt;br /&gt;
&lt;div&gt;
But, the tile layout is limited.&amp;nbsp;So, you cannot add free format text or object into live tile.&amp;nbsp;The layout format is &lt;b&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/hh202948(VS.92).aspx&quot;&gt;here&lt;/a&gt;&lt;/b&gt;.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoQQoMyPtm06AJcV9S32HcBRMUQFpv3gVLtIMNLNPaKqDaGx0RuTSUtaiCJKmEHpLwe0a6FkByzd_eZLx3n9sZaQ1KOZuuP9G4VLYXNAOFcXFqKcNXI2BLAH98-lVaTQ3lotVWJwhYzKe-/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;172&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoQQoMyPtm06AJcV9S32HcBRMUQFpv3gVLtIMNLNPaKqDaGx0RuTSUtaiCJKmEHpLwe0a6FkByzd_eZLx3n9sZaQ1KOZuuP9G4VLYXNAOFcXFqKcNXI2BLAH98-lVaTQ3lotVWJwhYzKe-/s400/%25E7%2584%25A1%25E9%25A1%258C.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;If you want to add customized layout tile, you need to generate Bitmap Image using &lt;b&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapimage.aspx&quot;&gt;BitmapImage&lt;/a&gt;&lt;/b&gt; and &lt;b&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.writeablebitmap.aspx&quot;&gt;WriteableBitmap&lt;/a&gt;&amp;nbsp;&lt;/b&gt;and save the image into IsoratedStorage.&lt;br /&gt;
Please see the movie. This is from&amp;nbsp;&lt;b&gt;&lt;u&gt;&lt;a href=&quot;http://www.windowsphone.com/en-us/apps/01fada6f-ff7e-451b-b0b0-3bf3a5c0f655?wa=wsignin1.0&quot;&gt;my Memo app&lt;/a&gt;&lt;/u&gt;&lt;/b&gt;.&amp;nbsp;The movie shows that I generate a live tile from StackPanel by clicking Check Button after I change some font styles.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/bcVz-sSqwho?hd=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Code Sample&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
I introduce code sample from &lt;b&gt;&lt;u&gt;&lt;a href=&quot;http://www.windowsphone.com/en-us/apps/01fada6f-ff7e-451b-b0b0-3bf3a5c0f655?wa=wsignin1.0&quot;&gt;my Memo app&lt;/a&gt;&lt;/u&gt;&lt;/b&gt;. The code generates a live tile from StackPanel. Please see bellow movie.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;- xaml code&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The xaml code is very simple. You can change the TextBlock on the StackPanel from code.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; &amp;lt;StackPanel Height=&quot;173&quot; x:Name=&quot;TilePanel&quot; Width=&quot;173&quot; Background=&quot;Wheat&quot; &amp;gt;  
   &amp;lt;TextBlock x:Name=&quot;tileText&quot; Style=&quot;{StaticResource PhoneTextNormalStyle}&quot; HorizontalAlignment=&quot;Left&quot; FontSize=&quot;20&quot; TextWrapping=&quot;Wrap&quot; /&amp;gt;  
 &amp;lt;/StackPanel&amp;gt;  &lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;- C# code&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The steps are here.&lt;br /&gt;
&lt;br /&gt;
1.&amp;nbsp;Create BitmapImage url.&lt;br /&gt;
2.&amp;nbsp;Create a bitmapImage to IsolatedStorage.&lt;br /&gt;
3.&amp;nbsp;Create a live tile using the created bitmapImage.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;public static void GenerateTile(StackPanel background, string colorTitle, TextBlock tileText, string id)
{
    //Create BitmapImage url.
    //BitmapImage url should be &quot;/Shared/ShellContent/&quot; to share images.
    var source = new BitmapImage(new Uri(&quot;/Shared/ShellContent/&quot;, UriKind.Absolute));
    var tileImage = &quot;/Shared/ShellContent/&quot; + colorTitle + id + &quot;.jpg&quot;;
    var isoStoreTileImage = string.Format(&quot;isostore:{0}&quot;, tileImage);

    //Create a bitmapImage to IsolatedStorage.
    using (IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication())
    {
        //Tile image&#39;s Height * Width are 173 * 173.
        var bitmap = new WriteableBitmap(173, 173);

        //Render a bitmap from StackPanel.
        bitmap.Render(background, new TranslateTransform());
        var stream = store.CreateFile(tileImage);
        bitmap.Invalidate();
        bitmap.SaveJpeg(stream, 173, 173, 0, 100);
        stream.Close();
    }

    //Create a live tile using the created bitmapImage.
    StandardTileData secondaryTile = new StandardTileData
    {
        BackgroundImage = new Uri(isoStoreTileImage, UriKind.Absolute),
        Title = &quot;&quot;,
        Count = null,
    };
    //Live tile has own url.
    //You can go to your application page when you click a live tile.
    ShellTile.Create(new Uri(&quot;/Memo.xaml?id=&quot; + id, UriKind.Relative), secondaryTile);
}
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Reference&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
I questioned the topic in StackOverflow. The page is &lt;b&gt;&lt;a href=&quot;http://stackoverflow.com/questions/8625595/how-to-make-bitmap-image-from-stackpanel-in-windows-phone-app&quot;&gt;here&lt;/a&gt;&lt;/b&gt;.&lt;/div&gt;
&lt;div&gt;
A expert, his name is &lt;a href=&quot;http://twitter.com/#!/windcape&quot; style=&quot;font-weight: bold;&quot;&gt;Claus Jørgensen&lt;/a&gt;, gave me excellent solution to resolve the issue. His solution is here.&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Part 1.&amp;nbsp;&lt;b&gt;&lt;a href=&quot;http://windcape.posterous.com/how-to-live-tile-with-scheduled-agent&quot;&gt;How To: Live Tile with Scheduled Agent&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Part 2.&amp;nbsp;&lt;b&gt;&lt;a href=&quot;http://windcape.posterous.com/how-to-generate-a-custom-live-tile-directly-o&quot;&gt;How To: Generate a custom live tile directly on the phone.&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
He also has his code in Guthub.&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;a href=&quot;https://github.com/Windcape/Diverse/tree/master/TwitterLiveTile&quot;&gt;TwitterLiveTile&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/4193592324070243342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/how-to-generate-tile-image-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/4193592324070243342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/4193592324070243342'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/how-to-generate-tile-image-from.html' title='How to Generate Tile Image from StackPanel'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoQQoMyPtm06AJcV9S32HcBRMUQFpv3gVLtIMNLNPaKqDaGx0RuTSUtaiCJKmEHpLwe0a6FkByzd_eZLx3n9sZaQ1KOZuuP9G4VLYXNAOFcXFqKcNXI2BLAH98-lVaTQ3lotVWJwhYzKe-/s72-c/%25E7%2584%25A1%25E9%25A1%258C.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-4017608325184814730</id><published>2011-12-27T22:42:00.000+09:00</published><updated>2012-01-01T14:03:42.919+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><title type='text'>How to Detect Clicking Hardware Back Button</title><content type='html'>You may usually want to detect clicking hareware back button on MainPage.xaml to exit your app or to resolve some paging problem.&lt;br /&gt;
&lt;br /&gt;
You can&amp;nbsp;detect clicking hareware back button using&amp;nbsp;&lt;b&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.phone.controls.phoneapplicationpage.onbackkeypress(VS.92).aspx&quot;&gt;OnBackKeyPress&lt;/a&gt;&lt;/b&gt; method like&amp;nbsp;OnNavigatedTo method. Please see bellow sample.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
{
    NavigationService.Navigate(new Uri(&quot;/MainPage.xaml&quot;, UriKind.Relative));
}
&lt;/pre&gt;
&lt;br /&gt;
I could pass Marketplace submission using above code.&lt;br /&gt;
I use the code in a page in my app because I want that it should be back to MainPage when Back Button is clicked in this page.</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/4017608325184814730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/how-to-detect-clicking-hardware-back.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/4017608325184814730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/4017608325184814730'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/how-to-detect-clicking-hardware-back.html' title='How to Detect Clicking Hardware Back Button'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-3987042307739541743</id><published>2011-12-25T14:07:00.002+09:00</published><updated>2011-12-25T14:09:21.283+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Memo App"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><category scheme="http://www.blogger.com/atom/ns#" term="xaml"/><title type='text'>Introduction of using Windows Phone Toolkit vol.5 : List Picker</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone.html&quot;&gt;&lt;b&gt;Introduction of using Windows Phone Toolkit vol.1 : Download and prepare to use toolkit&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_12.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.2 : Tilt effect&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_14.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.3 : Transitions&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_666.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.4 : ContextMenu&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_25.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.5 : List Picker&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Today, I introduce listpicker in Windows Phone Toolkit. I think this is most popular function in WP toolkit.&lt;br /&gt;
Listpicker has a lot of types of list, checkbox, listbox , combobox, etc. Let&#39;s see bellow movie and check functions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/fHyzVR7zN-Q?hd=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Samples&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Basic samples are here.&lt;br /&gt;
&lt;br /&gt;
- Just choose from a list (first list on the movie)&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; &amp;lt;toolkit:ListPicker Header=&quot;Background&quot;&amp;gt;  
   &amp;lt;sys:String&amp;gt;dark&amp;lt;/sys:String&amp;gt;  
   &amp;lt;sys:String&amp;gt;light&amp;lt;/sys:String&amp;gt;  
   &amp;lt;sys:String&amp;gt;dazzle&amp;lt;/sys:String&amp;gt;  
 &amp;lt;/toolkit:ListPicker&amp;gt;  
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
- Choose from a list of another page (second list on the movie)&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;&amp;lt;toolkit:ListPicker Header=&quot;Background&quot; ExpansionMode=&quot;FullscreenOnly&quot;&amp;gt;  
   &amp;lt;sys:String&amp;gt;dark&amp;lt;/sys:String&amp;gt;  
   &amp;lt;sys:String&amp;gt;light&amp;lt;/sys:String&amp;gt;  
   &amp;lt;sys:String&amp;gt;dazzle&amp;lt;/sys:String&amp;gt;  
   &amp;lt;toolkit:ListPicker.FullModeItemTemplate&amp;gt;  
     &amp;lt;DataTemplate&amp;gt;  
       &amp;lt;StackPanel Orientation=&quot;Horizontal&quot; Margin=&quot;16 21 0 20&quot;&amp;gt;  
         &amp;lt;TextBlock Text=&quot;{Binding}&quot;  
             Margin=&quot;0 0 0 0&quot;  
             FontSize=&quot;43&quot;   
             FontFamily=&quot;{StaticResource PhoneFontFamilyLight}&quot;/&amp;gt;  
       &amp;lt;/StackPanel&amp;gt;  
     &amp;lt;/DataTemplate&amp;gt;  
   &amp;lt;/toolkit:ListPicker.FullModeItemTemplate&amp;gt;  
 &amp;lt;/toolkit:ListPicker&amp;gt;  &lt;/pre&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Sample from my memo app&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I also use listpicker in my &lt;b&gt;&lt;a href=&quot;http://www.windowsphone.com/en-us/apps/01fada6f-ff7e-451b-b0b0-3bf3a5c0f655&quot;&gt;memo app&lt;/a&gt;&lt;/b&gt;.&lt;/div&gt;
&lt;div&gt;
This is color choice list. Please see bellow the movie first.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/kBDqSoAOn7c?hd=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
We can see same color choice list in WP toolkit sample. But the sample is little bit difficult because the sample uses DataContext and IValueConverter interface. I&#39;ll show you the simplest sample to use color choice list.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
- xaml code&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; &amp;lt;toolkit:ListPicker ItemsSource=&quot;{Binding}&quot; Name=&quot;colorList&quot; FullModeHeader=&quot;ACCENTS&quot; CacheMode=&quot;BitmapCache&quot; Width=&quot;350&quot; SelectionChanged=&quot;ListPicker_SelectionChanged&quot;&amp;gt;  
   &amp;lt;toolkit:ListPicker.ItemTemplate&amp;gt;  
     &amp;lt;DataTemplate&amp;gt;  
       &amp;lt;StackPanel Orientation=&quot;Horizontal&quot;&amp;gt;  
         &amp;lt;Rectangle Fill=&quot;{Binding BackgroundColor}&quot; Width=&quot;24&quot; Height=&quot;24&quot;/&amp;gt;  
         &amp;lt;TextBlock Text=&quot;{Binding ColorTitle}&quot; Margin=&quot;12 0 0 0&quot;/&amp;gt;  
       &amp;lt;/StackPanel&amp;gt;  
     &amp;lt;/DataTemplate&amp;gt;  
   &amp;lt;/toolkit:ListPicker.ItemTemplate&amp;gt;  
   &amp;lt;toolkit:ListPicker.FullModeItemTemplate&amp;gt;  
     &amp;lt;DataTemplate&amp;gt;  
       &amp;lt;StackPanel Orientation=&quot;Horizontal&quot; Margin=&quot;0 21 0 20&quot;&amp;gt;  
         &amp;lt;Rectangle Fill=&quot;{Binding BackgroundColor}&quot; Width=&quot;50&quot; Height=&quot;50&quot;/&amp;gt;  
         &amp;lt;TextBlock Text=&quot;{Binding ColorTitle}&quot;  
             Margin=&quot;16 0 0 0&quot;  
             FontSize=&quot;35&quot;/&amp;gt;  
       &amp;lt;/StackPanel&amp;gt;  
     &amp;lt;/DataTemplate&amp;gt;  
   &amp;lt;/toolkit:ListPicker.FullModeItemTemplate&amp;gt;  
 &amp;lt;/toolkit:ListPicker&amp;gt;  
&lt;/pre&gt;
&lt;br /&gt;
&quot;&amp;lt;toolkit:ListPicker.ItemTemplate&amp;gt;&quot; indicates display format of chosen color from color list.&lt;br /&gt;
&quot;&amp;lt;toolkit:ListPicker.FullModeItemTemplate&amp;gt;&quot; indicates display format of color choice list.&lt;br /&gt;
Both tags have bindings of&amp;nbsp;Rectangle and TextBlock which used in code behind.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- code behind
&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; public Tile()  
 {  
   InitializeComponent();  
   //set color list  
   List&amp;lt;ColorsList&amp;gt; list = new List&amp;lt;ColorsList&amp;gt;();  
   foreach (var c in ColorSet.ReturnColor())  
   {  
     list.Add(new ColorsList { BackgroundColor = new SolidColorBrush(Color.FromArgb(c.a, c.r, c.g, c.b)), ColorTitle = c.ColorTitle });  
   }  
   colorList.ItemsSource = list;  
}
 public class ColorsList  
 {  
   public Brush BackgroundColor { get; set; }  
   public string ColorTitle { get; set; }  
 }  
&lt;/pre&gt;
&lt;br /&gt;
&quot;ColorSet.ReturnColor()&quot; returns colors set from color source of List&amp;lt;&amp;gt;.
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/3987042307739541743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_25.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/3987042307739541743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/3987042307739541743'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_25.html' title='Introduction of using Windows Phone Toolkit vol.5 : List Picker'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s72-c/%25E7%2584%25A1%25E9%25A1%258C.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-1364858738862923128</id><published>2011-12-22T02:27:00.001+09:00</published><updated>2011-12-22T02:27:55.809+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><title type='text'>How to check if back button is clicked or not when page transition is occurred</title><content type='html'>In the situation of page transition, sometime you may want to check page transition is occurred by pressing back button or not.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil8gu3_bx1_jqB8lPOQmmoZdUfpgDMb618_X8FXBaRI-Xephu89r1prRUFqrAamkSvGAuV6xE0H0mbJkVu852e70wS1HoEVKxVkPkarpTtaLz1Y9Hf3C_Ev5ztEiXGNeBP7eA2okJ02LZ5/s1600/phone.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil8gu3_bx1_jqB8lPOQmmoZdUfpgDMb618_X8FXBaRI-Xephu89r1prRUFqrAamkSvGAuV6xE0H0mbJkVu852e70wS1HoEVKxVkPkarpTtaLz1Y9Hf3C_Ev5ztEiXGNeBP7eA2okJ02LZ5/s320/phone.png&quot; width=&quot;176&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
Today I introduce how to check&amp;nbsp;&amp;nbsp;if back button is clicked or not when page transition is occurred.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
It&#39;s easy to make it. You can use&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.navigation.navigationmode.aspx&quot;&gt;&lt;b&gt;NavigationMode Enumeration&lt;/b&gt;&lt;/a&gt; in OnNavigatedTo method. When back button is clicked,&amp;nbsp;NavigationMode Enumeration should be&amp;nbsp;NavigationMode.Back.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Please check bellow code sample.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
{
    base.OnNavigatedTo(e);

    //if the page transition is occurred by pressing back button.
    if (e.NavigationMode == System.Windows.Navigation.NavigationMode.Back)
    {
        //do something
    }
}
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
As you know&amp;nbsp;OnNavigatedTo is called when page transition is occurred.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/1364858738862923128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/how-to-check-if-back-button-is-clicked.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/1364858738862923128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/1364858738862923128'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/how-to-check-if-back-button-is-clicked.html' title='How to check if back button is clicked or not when page transition is occurred'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil8gu3_bx1_jqB8lPOQmmoZdUfpgDMb618_X8FXBaRI-Xephu89r1prRUFqrAamkSvGAuV6xE0H0mbJkVu852e70wS1HoEVKxVkPkarpTtaLz1Y9Hf3C_Ev5ztEiXGNeBP7eA2okJ02LZ5/s72-c/phone.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-6753612137286690206</id><published>2011-12-16T20:25:00.000+09:00</published><updated>2011-12-16T20:25:17.061+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Memo App"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><title type='text'>My Memo app&#39;s new version 1.2 was released !</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6cNGYCjcpc0-rnSX2VYIdNMOkTHLrXg93lFJwzv-OPTo2uI-ZCXkH60UjPQU29sIxyIVa4G3h1Qi9laczjPgjc2FokC880vskg6JQ7OpjvT-ugP4Cxs716W12VdC_-XUm4r-vGjpk5pqZ/s1600/benifuji.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6cNGYCjcpc0-rnSX2VYIdNMOkTHLrXg93lFJwzv-OPTo2uI-ZCXkH60UjPQU29sIxyIVa4G3h1Qi9laczjPgjc2FokC880vskg6JQ7OpjvT-ugP4Cxs716W12VdC_-XUm4r-vGjpk5pqZ/s1600/benifuji.png&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOUu5mv1QW3PaoZ540tbAv9fmhB4EqL1APw-5YGgZ3jky4sGtQd8mLWjkrPUPgFK-kzQNxBqE1gHw-MckKWyz3Rsmby7N2DIye5pZyrv3opbO3iAgroMmCm4BWdkq4sbrqRuEVi5gXnhfJ/s1600/fushizome.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOUu5mv1QW3PaoZ540tbAv9fmhB4EqL1APw-5YGgZ3jky4sGtQd8mLWjkrPUPgFK-kzQNxBqE1gHw-MckKWyz3Rsmby7N2DIye5pZyrv3opbO3iAgroMmCm4BWdkq4sbrqRuEVi5gXnhfJ/s1600/fushizome.png&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicxeHDlw8dL1FhRdDfikXm7CdGv_juJ3tHzwF6vHW1Xs6zoNuyDj1sDxL0wqTtW7DnDvAe-C_XK6KoEb9VC5oRgaxWLcVMK6PnJqQfzxXKD9I0ZUyoIvOdhw6FLnA-FYjPutZgpf1Mq7Vd/s1600/kamenozoki.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicxeHDlw8dL1FhRdDfikXm7CdGv_juJ3tHzwF6vHW1Xs6zoNuyDj1sDxL0wqTtW7DnDvAe-C_XK6KoEb9VC5oRgaxWLcVMK6PnJqQfzxXKD9I0ZUyoIvOdhw6FLnA-FYjPutZgpf1Mq7Vd/s1600/kamenozoki.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlwitsmAfbvB_D-aN5s9kZgutGlaBw-iiyRjb5eRXQy-r6eluTIwawRL3ZTgJx3kHWNDS4PL69HrBiAVjM-Z7-lAL4ql7rESmzJQYtOC9za8_wgj_SokS-gmf2O_M-6JIplNU7HFgnYPPr/s1600/wakana.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlwitsmAfbvB_D-aN5s9kZgutGlaBw-iiyRjb5eRXQy-r6eluTIwawRL3ZTgJx3kHWNDS4PL69HrBiAVjM-Z7-lAL4ql7rESmzJQYtOC9za8_wgj_SokS-gmf2O_M-6JIplNU7HFgnYPPr/s1600/wakana.png&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRh8-ptW_j1OubHh2QnYz6F4yz4HmgYylmQFL5gzqL0l83kLCA08BR-2aL0cdYkhWenjNGXJipdjjKryBxnMnZ6wCTlwd2Xp-adwaAaCyZDW2LF1xyLEPWQ519DFGLjZOkQkaAxaICAGaM/s1600/koji.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRh8-ptW_j1OubHh2QnYz6F4yz4HmgYylmQFL5gzqL0l83kLCA08BR-2aL0cdYkhWenjNGXJipdjjKryBxnMnZ6wCTlwd2Xp-adwaAaCyZDW2LF1xyLEPWQ519DFGLjZOkQkaAxaICAGaM/s1600/koji.png&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4XHHIaOARZtQ3-u7YOPVcUFxmUV5xmTmyGUiYKhIgOJHfzm21oCThFJuLlB8KE-hXOoMyZpmZVncmcUI-8GSnWA8xeEglbL5FjSVkAMUw4yhr3a3cH-wQUxioYn-JEYGDOzqvDiGPEmxn/s1600/hiwa.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4XHHIaOARZtQ3-u7YOPVcUFxmUV5xmTmyGUiYKhIgOJHfzm21oCThFJuLlB8KE-hXOoMyZpmZVncmcUI-8GSnWA8xeEglbL5FjSVkAMUw4yhr3a3cH-wQUxioYn-JEYGDOzqvDiGPEmxn/s1600/hiwa.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.windowsphone.com/ja-JP/apps/01fada6f-ff7e-451b-b0b0-3bf3a5c0f655?wa=wsignin1.0&quot;&gt;http://www.windowsphone.com/ja-JP/apps/01fada6f-ff7e-451b-b0b0-3bf3a5c0f655?wa=wsignin1.0&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
I&#39;m really happy to announce new version 1.2 of my Memo application !&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Please download and use it !&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;&lt;b&gt;The memo app is very fast.&lt;/b&gt;&lt;/span&gt; There is One Note in Windows Phone by default. But One Note is slow and not easy to use sometime. So, If you want to take short memo, you must use my Memo app.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;New Features&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
I introduce new features of my Memo app.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Colors&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
You can change background color in my Memo app.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
In previous version, The background color is only wheat. But you are able to choose &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;Japanese originated colors&lt;/span&gt;&lt;/b&gt; depend on your feeling. These colors are very beautiful.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Also the tile of memo app change when you choose a color.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNf5qiO1RWAhObmKh75FDV11VgObH44UCmvDadw7dNaUZc_2X8GWmf-xCaq4bExEtBmMuYiaufsTosr6TRQWJv2_041Z3IxKZDik_aUzsoOHiF1aH83ax3EZc3jaJJrmgz0QfcsaYISYN9/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNf5qiO1RWAhObmKh75FDV11VgObH44UCmvDadw7dNaUZc_2X8GWmf-xCaq4bExEtBmMuYiaufsTosr6TRQWJv2_041Z3IxKZDik_aUzsoOHiF1aH83ax3EZc3jaJJrmgz0QfcsaYISYN9/s400/6.png&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMpKdosmt1Cf3vo_r6RW4wve6T9uRaUc6b6eIGW_DO2pV-zy9xCvQWpR8rM-uIXs1Thbkvi9I-HUS3pqEmzntwGd6y08PUpKcFzSbzC46y2UZO4ww6no_yyzAcxEz1DblrCs34FjvsJ5vn/s1600/7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMpKdosmt1Cf3vo_r6RW4wve6T9uRaUc6b6eIGW_DO2pV-zy9xCvQWpR8rM-uIXs1Thbkvi9I-HUS3pqEmzntwGd6y08PUpKcFzSbzC46y2UZO4ww6no_yyzAcxEz1DblrCs34FjvsJ5vn/s400/7.png&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;WP specific UI action&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
I changed user interface to Windows Phone like action.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
Please check these actions.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Paging like shuffling through a book.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/awl5JrncMJ0?hd=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Click action. (tilt effect)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/2IROPhfQHMQ?hd=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Context menu when you click for a while.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/-9vV8AeEUFI?hd=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can check how to implement in your app in these blog posts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_12.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.2 : Tilt effect&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_14.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.3 : Transitions&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_666.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.4 : ContextMenu&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Bug fixes&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
I fixed these bugs.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
- Chinese character is showed when you use Japanese locale setting.&lt;/div&gt;
&lt;div&gt;
- Add button (+) doesn&#39;t work on Memo page.&lt;/div&gt;
&lt;div&gt;
- ApplicationBar menu on Main page has trouble seeing.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta; font-size: large;&quot;&gt;Please download and use it !&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Thanks.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/6753612137286690206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/my-memo-apps-new-version-12-was.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/6753612137286690206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/6753612137286690206'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/my-memo-apps-new-version-12-was.html' title='My Memo app&#39;s new version 1.2 was released !'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6cNGYCjcpc0-rnSX2VYIdNMOkTHLrXg93lFJwzv-OPTo2uI-ZCXkH60UjPQU29sIxyIVa4G3h1Qi9laczjPgjc2FokC880vskg6JQ7OpjvT-ugP4Cxs716W12VdC_-XUm4r-vGjpk5pqZ/s72-c/benifuji.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-2334308269656506382</id><published>2011-12-14T23:44:00.001+09:00</published><updated>2011-12-25T14:09:12.121+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Memo App"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><category scheme="http://www.blogger.com/atom/ns#" term="xaml"/><title type='text'>Introduction of using Windows Phone Toolkit vol.4 : ContextMenu</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone.html&quot;&gt;&lt;b&gt;Introduction of using Windows Phone Toolkit vol.1 : Download and prepare to use toolkit&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_12.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.2 : Tilt effect&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_14.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.3 : Transitions&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_666.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.4 : ContextMenu&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_25.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.5 : List Picker&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Today, I&#39;d like to introduce ContextMenu. For instance, in buildin Outlook app in Windows Phone, you can find ContextMenu when you click down for a while. Please check it bellow movie.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/SNHECKKwfzM?hd=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;How coding&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
First, you need to write content menu code in some control in xaml code. You can add content menu not only Button control also other controls. I introduce about Button in this part.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;&amp;lt;Button Margin=&quot;0,0&quot;   
     VerticalAlignment=&quot;Center&quot;  
     Padding=&quot;12&quot;  
     Content=&quot;ContextMenu&quot;  
     FontSize=&quot;18&quot;&amp;gt;  
   &amp;lt;toolkit:ContextMenuService.ContextMenu&amp;gt;  
     &amp;lt;toolkit:ContextMenu&amp;gt;  
       &amp;lt;!-- You can suppress tilt on indivudal menu items with TiltEffect.SuppressTilt=&quot;True&quot; --&amp;gt;  
       &amp;lt;toolkit:MenuItem Header=&quot;this is a menu item&quot; Click=&quot;MenuItem_Click&quot;/&amp;gt;  
       &amp;lt;toolkit:MenuItem Header=&quot;this is another menu item&quot; Click=&quot;MenuItem_Click&quot;/&amp;gt;  
       &amp;lt;toolkit:MenuItem Header=&quot;this is a yet another menu item&quot; Click=&quot;MenuItem_Click&quot;/&amp;gt;  
     &amp;lt;/toolkit:ContextMenu&amp;gt;  
   &amp;lt;/toolkit:ContextMenuService.ContextMenu&amp;gt;  
 &amp;lt;/Button&amp;gt;  
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Second, write click event code in code behind. In bellow code, adding a text which is selected in context&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt; menu to TextBlock(&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;lastSelection&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;private void MenuItem_Click(object sender, RoutedEventArgs e)
{
    lastSelection.Text = (string)((MenuItem)sender).Header;
}
&lt;/pre&gt;
&lt;br /&gt;
Also you can use Command to bind action and use MVVM patern. I&#39;ll show you next blog post.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Use context menu in Listbox&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
I think almost of people use context menu in Listbox. I introduce how to use context menu in Listbox through&amp;nbsp;&lt;a href=&quot;http://www.windowsphone.com/ja-JP/apps/01fada6f-ff7e-451b-b0b0-3bf3a5c0f655?wa=wsignin1.0&quot;&gt;&lt;b&gt;my memo app&lt;/b&gt;&lt;/a&gt;. Please see bellow movie. The movie indicates you can delete selected item using context menu.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/-9vV8AeEUFI?hd=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The xaml code is bellow.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; &amp;lt;ListBox x:Name=&quot;listBox1&quot; ItemsSource=&quot;{Binding}&quot; Margin=&quot;0,-20,0,0&quot; SelectionChanged=&quot;listBox1_SelectionChanged&quot;&amp;gt;  
   &amp;lt;ListBox.ItemTemplate&amp;gt;  
     &amp;lt;DataTemplate&amp;gt;  
       &amp;lt;StackPanel HorizontalAlignment=&quot;Stretch&quot; Orientation=&quot;Horizontal&quot;&amp;gt;  
         &amp;lt;TextBlock FontSize=&quot;35&quot; x:Name=&quot;Title&quot; Text=&quot;{Binding Title}&quot; /&amp;gt;  
         &amp;lt;TextBlock FontSize=&quot;25&quot; x:Name=&quot;Date&quot; Text=&quot;{Binding Date}&quot; /&amp;gt;  
         &amp;lt;TextBlock x:Name=&quot;Id&quot; Text=&quot;{Binding Id}&quot; Visibility=&quot;Collapsed&quot; /&amp;gt;  
         &amp;lt;toolkit:ContextMenuService.ContextMenu&amp;gt;  
           &amp;lt;toolkit:ContextMenu BorderThickness=&quot;0&quot; BorderBrush=&quot;White&quot;&amp;gt;  
             &amp;lt;toolkit:MenuItem Header=&quot;delete&quot; Click=&quot;Delete_Click&quot;/&amp;gt;  
           &amp;lt;/toolkit:ContextMenu&amp;gt;  
         &amp;lt;/toolkit:ContextMenuService.ContextMenu&amp;gt;  
       &amp;lt;/StackPanel&amp;gt;  
     &amp;lt;/DataTemplate&amp;gt;  
   &amp;lt;/ListBox.ItemTemplate&amp;gt;  
 &amp;lt;/ListBox&amp;gt;  
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
The code behind is also here.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;private void Delete_Click(object sender, RoutedEventArgs e)
{
    MessageBoxResult result = MessageBox.Show(&quot;do you want to delete the memo?&quot;, &quot;Delete memo?&quot;, MessageBoxButton.OKCancel);
    if (result == MessageBoxResult.OK)
    {
        string header = (sender as MenuItem).Header.ToString();
        ListBoxItem selectedListBoxItem = this.listBox1.ItemContainerGenerator.ContainerFromItem((sender as MenuItem).DataContext) as ListBoxItem;
        if (selectedListBoxItem != null &amp;amp;&amp;amp; header == &quot;delete&quot;)
        {
            ItemsList list = (ItemsList)selectedListBoxItem.Content;
            items = new ItemInfo();
            items.DeleteItemFromStorage(list.Id); // delete memo from database

            NavigationService.Navigate(new Uri(&quot;/MainPage.xaml&quot;, UriKind.Relative));
        }

    }
}

//binding to textblok in Listbox
public class ItemsList
{
    public string Id { get; set; }
    public string Title { get; set; }
    public string Date { get; set; }
}
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/2334308269656506382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_666.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/2334308269656506382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/2334308269656506382'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_666.html' title='Introduction of using Windows Phone Toolkit vol.4 : ContextMenu'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s72-c/%25E7%2584%25A1%25E9%25A1%258C.png" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-2546812796663698991</id><published>2011-12-14T00:29:00.000+09:00</published><updated>2011-12-25T14:09:02.114+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Memo App"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><category scheme="http://www.blogger.com/atom/ns#" term="xaml"/><title type='text'>Introduction of using Windows Phone Toolkit vol.3 : Transitions</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone.html&quot;&gt;&lt;b&gt;Introduction of using Windows Phone Toolkit vol.1 : Download and prepare to use toolkit&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_12.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.2 : Tilt effect&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_14.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.3 : Transitions&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_666.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.4 : ContextMenu&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_25.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.5 : List Picker&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This time, I introduce Transitions. Transitions is paging from a xaml page to another xaml page like shuffling through a book. Please check bellow movie.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/iyvDvX23pjU?hd=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;How coding&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
The function is also easier than other functions. You need to do things are only two steps.&lt;br /&gt;
First, add bellow code after phone:PhoneApplicationPage tag in your xaml page which you want to add the function.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; 
 &amp;lt;toolkit:TransitionService.NavigationInTransition&amp;gt;  
   &amp;lt;toolkit:NavigationInTransition&amp;gt;  
     &amp;lt;toolkit:NavigationInTransition.Backward&amp;gt;  
       &amp;lt;toolkit:TurnstileTransition Mode=&quot;BackwardIn&quot;/&amp;gt;  
     &amp;lt;/toolkit:NavigationInTransition.Backward&amp;gt;  
     &amp;lt;toolkit:NavigationInTransition.Forward&amp;gt;  
       &amp;lt;toolkit:TurnstileTransition Mode=&quot;ForwardIn&quot;/&amp;gt;  
     &amp;lt;/toolkit:NavigationInTransition.Forward&amp;gt;  
   &amp;lt;/toolkit:NavigationInTransition&amp;gt;  
 &amp;lt;/toolkit:TransitionService.NavigationInTransition&amp;gt;  
 &amp;lt;toolkit:TransitionService.NavigationOutTransition&amp;gt;  
   &amp;lt;toolkit:NavigationOutTransition&amp;gt;  
     &amp;lt;toolkit:NavigationOutTransition.Backward&amp;gt;  
       &amp;lt;toolkit:TurnstileTransition Mode=&quot;BackwardOut&quot;/&amp;gt;  
     &amp;lt;/toolkit:NavigationOutTransition.Backward&amp;gt;  
     &amp;lt;toolkit:NavigationOutTransition.Forward&amp;gt;  
       &amp;lt;toolkit:TurnstileTransition Mode=&quot;ForwardOut&quot;/&amp;gt;  
     &amp;lt;/toolkit:NavigationOutTransition.Forward&amp;gt;  
   &amp;lt;/toolkit:NavigationOutTransition&amp;gt;  
 &amp;lt;/toolkit:TransitionService.NavigationOutTransition&amp;gt;  
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Second, change bellow code to use transitions.&lt;br /&gt;
&lt;br /&gt;
RootFrame = new TransitionFrame();&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Before&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;private void InitializePhoneApplication()
{
    if (phoneApplicationInitialized)
        return;

    // Create the frame but don&#39;t set it as RootVisual yet; this allows the splash
    // screen to remain active until the application is ready to render.
    RootFrame = new PhoneApplicationFrame();
    RootFrame.Navigated += CompleteInitializePhoneApplication;

    // Handle navigation failures
    RootFrame.NavigationFailed += RootFrame_NavigationFailed;

    // Ensure we don&#39;t initialize again
    phoneApplicationInitialized = true;
}
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;After&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;private void InitializePhoneApplication()
{
    if (phoneApplicationInitialized)
        return;

    // Create the frame but don&#39;t set it as RootVisual yet; this allows the splash
    // screen to remain active until the application is ready to render.
    RootFrame = new TransitionFrame(); /// Change the code. ///
    RootFrame.Navigated += CompleteInitializePhoneApplication;

    // Handle navigation failures
    RootFrame.NavigationFailed += RootFrame_NavigationFailed;

    // Ensure we don&#39;t initialize again
    phoneApplicationInitialized = true;
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
Also the bellow movie is &lt;a href=&quot;http://www.windowsphone.com/ja-JP/apps/01fada6f-ff7e-451b-b0b0-3bf3a5c0f655?wa=wsignin1.0&quot;&gt;&lt;b&gt;my memo app&lt;/b&gt;&lt;/a&gt; using Transition.&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/awl5JrncMJ0?hd=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
That&#39;s all. The function is very cool. There are also other paging functions. Please check it.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/2546812796663698991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/2546812796663698991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/2546812796663698991'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_14.html' title='Introduction of using Windows Phone Toolkit vol.3 : Transitions'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s72-c/%25E7%2584%25A1%25E9%25A1%258C.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-5825706709223585833</id><published>2011-12-12T23:48:00.002+09:00</published><updated>2011-12-25T14:08:54.991+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Memo App"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><category scheme="http://www.blogger.com/atom/ns#" term="xaml"/><title type='text'>Introduction of using Windows Phone Toolkit vol.2 : Tilt effect</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone.html&quot;&gt;&lt;b&gt;Introduction of using Windows Phone Toolkit vol.1 : Download and prepare to use toolkit&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_12.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.2 : Tilt effect&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_14.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.3 : Transitions&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_666.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.4 : ContextMenu&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_25.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.5 : List Picker&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this blog post, I show you tilt effect that is a motion of a object sinking down when you click it.&lt;br /&gt;
You can check the motion in bellow movie.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/gdkZrF_cTYk?hd=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;How coding&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
The function is the easiest to build in your app. You just add bellow tag into all of your xaml pages.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
toolkit:TiltEffect.IsTiltEnabled=&quot;True&quot;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; &amp;lt;phone:PhoneApplicationPage   
   x:Class=&quot;Memo.MainPage&quot;  
   xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;  
   xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;  
   xmlns:phone=&quot;clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone&quot;  
   xmlns:shell=&quot;clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone&quot;  
   xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot;  
   xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;  
   xmlns:toolkit=&quot;clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit&quot;  
   mc:Ignorable=&quot;d&quot; d:DesignWidth=&quot;480&quot; d:DesignHeight=&quot;768&quot;  
   FontFamily=&quot;{StaticResource PhoneFontFamilyNormal}&quot;  
   FontSize=&quot;{StaticResource PhoneFontSizeNormal}&quot;  
   Foreground=&quot;{StaticResource PhoneForegroundBrush}&quot;  
   SupportedOrientations=&quot;Portrait&quot; Orientation=&quot;Portrait&quot;  
   shell:SystemTray.IsVisible=&quot;True&quot;  
   toolkit:TiltEffect.IsTiltEnabled=&quot;True&quot;&amp;gt;  
&lt;/pre&gt;
&lt;br /&gt;
Also the bellow movie is &lt;a href=&quot;http://www.windowsphone.com/ja-JP/apps/01fada6f-ff7e-451b-b0b0-3bf3a5c0f655?wa=wsignin1.0&quot;&gt;&lt;b&gt;my memo app&lt;/b&gt;&lt;/a&gt; using tilt effect in listbox.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/2IROPhfQHMQ?hd=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/5825706709223585833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/5825706709223585833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/5825706709223585833'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_12.html' title='Introduction of using Windows Phone Toolkit vol.2 : Tilt effect'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s72-c/%25E7%2584%25A1%25E9%25A1%258C.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-8643604684315675858</id><published>2011-12-12T00:52:00.001+09:00</published><updated>2011-12-25T14:08:46.044+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><category scheme="http://www.blogger.com/atom/ns#" term="xaml"/><title type='text'>Introduction of using Windows Phone Toolkit vol.1 : Download and prepare to use toolkit</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone.html&quot;&gt;&lt;b&gt;Introduction of using Windows Phone Toolkit vol.1 : Download and prepare to use toolkit&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_12.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.2 : Tilt effect&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_14.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.3 : Transitions&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_666.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.4 : ContextMenu&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone_25.html&quot;&gt;Introduction of using Windows Phone Toolkit vol.5 : List Picker&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&#39;d like to introduce powerful tool of making Windows Phone app. The tool is Windows Phone Toolkit.&lt;br /&gt;
Windows Phone Toolkit has a lot of functionality that you can use Windows Phone standard UI actions, for instance, paging, click action, listbox functions, and etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Install Windows Phone Toolkit&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Access the &lt;a href=&quot;http://silverlight.codeplex.com/releases/view/75888&quot;&gt;URL&lt;/a&gt; and download both toolkit (msi) and samples (zip).&lt;/div&gt;
&lt;div&gt;
And run msi file. After installing, you can find binaries in&amp;nbsp;C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Toolkit\Oct11\Bin.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Before you start coding, you should check sample project (zip). There are cool samples and you can easily recognize the functionality.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Setup your project&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
To use Windows Phone Toolkit in your app, I&#39;ll show you short steps.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
First, add reference of both&amp;nbsp;Microsoft.Phone.Controls.Toolkit.dll&amp;nbsp;and&amp;nbsp;Microsoft.Phone.Controls.dll&amp;nbsp;into your project.&lt;br /&gt;
&lt;br /&gt;
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Toolkit\Oct11\Bin\Microsoft.Phone.Controls.Toolkit.dll&lt;br /&gt;
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Libraries\Silverlight\Microsoft.Phone.Controls.dll&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisJYqNiYVX2B8v8ETFnN5u6KE5n4f90DlHJbquSfO-W4OzNSAts1ZciJrbmXTATsoO2dUN0NOR9wLD6B2fCPw6lM6mUEnSOHYjLfbhWUnyokZICtw_q9JDnCVaJf8wXlC-4M_VYEvfn2Yn/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisJYqNiYVX2B8v8ETFnN5u6KE5n4f90DlHJbquSfO-W4OzNSAts1ZciJrbmXTATsoO2dUN0NOR9wLD6B2fCPw6lM6mUEnSOHYjLfbhWUnyokZICtw_q9JDnCVaJf8wXlC-4M_VYEvfn2Yn/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Second, define toolkit in all of your xaml pages.&lt;br /&gt;
&lt;br /&gt;
xmlns:toolkit=&quot;clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt; &amp;lt;phone:PhoneApplicationPage   
   x:Class=&quot;Memo.MainPage&quot;  
   xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;  
   xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;  
   xmlns:phone=&quot;clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone&quot;  
   xmlns:shell=&quot;clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone&quot;  
   xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot;  
   xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;  
   xmlns:toolkit=&quot;clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit&quot;  
   mc:Ignorable=&quot;d&quot; d:DesignWidth=&quot;480&quot; d:DesignHeight=&quot;768&quot;  
   FontFamily=&quot;{StaticResource PhoneFontFamilyNormal}&quot;  
   FontSize=&quot;{StaticResource PhoneFontSizeNormal}&quot;  
   Foreground=&quot;{StaticResource PhoneForegroundBrush}&quot;  
   SupportedOrientations=&quot;Portrait&quot; Orientation=&quot;Portrait&quot;  
   shell:SystemTray.IsVisible=&quot;True&quot;&amp;gt;  
&lt;/pre&gt;
&lt;br /&gt;
That&#39;s all. It&#39;s very easy to start to use Windows Phone Toolkit. I&#39;ll show you functionality next blog post.</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/8643604684315675858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/8643604684315675858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/8643604684315675858'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/introduction-of-using-windows-phone.html' title='Introduction of using Windows Phone Toolkit vol.1 : Download and prepare to use toolkit'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDdZl1NQUf67K-NH_uJeh_DSOLYlZuQvtrydqIXzqUuOQBHi-Kg7usyfygXHK6FTwHBg9lLr61Bv3njArjBhAPPqQwsYQPN923eaQDExsyTHhgyTt957tdsRjAUxKPA3h3dZat8qJ2iawo/s72-c/%25E7%2584%25A1%25E9%25A1%258C.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-9128485922049388603</id><published>2011-12-11T22:40:00.001+09:00</published><updated>2011-12-11T22:59:29.603+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Memo App"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><title type='text'>Cannot select trial version checkbox in Market Place</title><content type='html'>When you upload your app into Market Place, sometime you cannot select trial version checkbox because the checkbox is grayout.&lt;br /&gt;
&lt;br /&gt;
The most important thing is that &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;you need to use&amp;nbsp;IsTrail() method in your app if you provide trial version.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Try to use IsTrail() method&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;
IsTrail() method&#39;s document is here.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ff967558(VS.92).aspx&quot;&gt;&lt;b&gt;LicenseInformation.IsTrial Method&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Also see here.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/gg490779.aspx#sec10&quot;&gt;&lt;b&gt;Appendix A - Tools, Frameworks, and Processes&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ff967558(VS.92).aspx&quot;&gt;&lt;b&gt;Creating Trial Applications Overview for Windows Phone&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Sample code is here.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;using Microsoft.Phone.Marketplace;

        
public static bool TrialVersion;
LicenseInformation licenseInfo = new LicenseInformation();

TrialVersion = licenseInfo.IsTrial();

if (!TrialVersion)
{
    button1.Visibility = Visibility.Collapsed;
}
else
{
    button1.Visibility = Visibility.Visible;
}
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
When you use IsTrail() method, the method communicate with Market Place and check your status. So, you had better use&amp;nbsp;IsTrail() method only once in your app.</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/9128485922049388603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/cannot-select-trial-version-checkbox-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/9128485922049388603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/9128485922049388603'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/cannot-select-trial-version-checkbox-in.html' title='Cannot select trial version checkbox in Market Place'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-2397085907595638400</id><published>2011-12-11T20:13:00.002+09:00</published><updated>2011-12-11T21:40:28.271+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><category scheme="http://www.blogger.com/atom/ns#" term="xaml"/><title type='text'>Icons aren&#39;t display on Application Bar</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsmNYf8ltqWQQzn8PhPVTubAcC1Npiir05aeRWiw9dxx6qJ9ZU2unwmJuZTKVeogzwccLWvupvzF3aeHyrWoxWAzEe6OT6qjU7lBL36tzCfCOKV6RPqhPOU0FD7hSuQuQY_GE6ZtV3g9tr/s1600/20111023215929.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsmNYf8ltqWQQzn8PhPVTubAcC1Npiir05aeRWiw9dxx6qJ9ZU2unwmJuZTKVeogzwccLWvupvzF3aeHyrWoxWAzEe6OT6qjU7lBL36tzCfCOKV6RPqhPOU0FD7hSuQuQY_GE6ZtV3g9tr/s320/20111023215929.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
There are a lot of Application Bar Icons in Windows Phone SDK (\Program Files\Microsoft SDKs\Windows Phone\v7.1\Icons)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You add icons in your project, and write bellow code. But icons aren&#39;t display by default. See above picture.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;Cpp&quot; name=&quot;code&quot;&gt;&amp;lt;phone:PhoneApplicationPage.ApplicationBar&amp;gt;  
   &amp;lt;shell:ApplicationBar Opacity=&quot;.5&quot;&amp;gt;  
     &amp;lt;shell:ApplicationBarIconButton Text=&quot;Email&quot; IconUri=&quot;Icons/email.png&quot; /&amp;gt;  
     &amp;lt;shell:ApplicationBarIconButton Text=&quot;Delete&quot; IconUri=&quot;Icons/delete.png&quot; /&amp;gt;  
     &amp;lt;shell:ApplicationBar.MenuItems&amp;gt;  
     &amp;lt;/shell:ApplicationBar.MenuItems&amp;gt;  
   &amp;lt;/shell:ApplicationBar&amp;gt;  
&amp;lt;/phone:PhoneApplicationPage.ApplicationBar&amp;gt;  
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Icons and other pictures Build Action is &quot;Resource&quot;. You need to change Build Action from &quot;Resource&quot; to &quot;Content&quot; if you use theses pictures in your app.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz6tgZV2uldDdA_e7siieuitx9wIo1Q2ExchfF1L341JvsjHkZCw2ZdZlP4yfDzHmJ33t4oHd26qx73PAdBB4s6gsIDyNrg7PUgZ4QVTiyXmyXrIOEq32EPYEHjfI3Lf4D2SqYbYEkOHjV/s1600/20111023215930.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz6tgZV2uldDdA_e7siieuitx9wIo1Q2ExchfF1L341JvsjHkZCw2ZdZlP4yfDzHmJ33t4oHd26qx73PAdBB4s6gsIDyNrg7PUgZ4QVTiyXmyXrIOEq32EPYEHjfI3Lf4D2SqYbYEkOHjV/s1600/20111023215930.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
After above setting, you can see icons on Application Bar.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTFNLP552iT5hXPYWWZhy1rpTYBqbmOQG6WHaWwCT4xDBt8UwFCxqpIrw-0Uh4yeGHzP4hdIMiBnmpOLOGevo11PvSTviAn53L7ImnD05LzVCaHXiSus0DuEnctJ9vTZDPnIdhLzdZ4heY/s1600/20111023215931.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTFNLP552iT5hXPYWWZhy1rpTYBqbmOQG6WHaWwCT4xDBt8UwFCxqpIrw-0Uh4yeGHzP4hdIMiBnmpOLOGevo11PvSTviAn53L7ImnD05LzVCaHXiSus0DuEnctJ9vTZDPnIdhLzdZ4heY/s320/20111023215931.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/2397085907595638400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/icons-arent-display-on-application-bar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/2397085907595638400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/2397085907595638400'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/icons-arent-display-on-application-bar.html' title='Icons aren&#39;t display on Application Bar'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsmNYf8ltqWQQzn8PhPVTubAcC1Npiir05aeRWiw9dxx6qJ9ZU2unwmJuZTKVeogzwccLWvupvzF3aeHyrWoxWAzEe6OT6qjU7lBL36tzCfCOKV6RPqhPOU0FD7hSuQuQY_GE6ZtV3g9tr/s72-c/20111023215929.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-4843837373793079231</id><published>2011-12-11T02:16:00.001+09:00</published><updated>2011-12-11T02:28:48.274+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><title type='text'>101 Windows Phone 7 Apps Volume 1 is cool book</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_XewcDYffPAXigqafNtdJ2VH9CjGZSRThmXD9lqJD1js9RX4CGKmTYaR3OsC3pAN4Z9Gl0vvUV7IZ58g1JgYpDtfJ2G0WxCBG4EvRn0a35jzlC__t90cIYEqhsTZKFp0MoahdacKqSIcm/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_XewcDYffPAXigqafNtdJ2VH9CjGZSRThmXD9lqJD1js9RX4CGKmTYaR3OsC3pAN4Z9Gl0vvUV7IZ58g1JgYpDtfJ2G0WxCBG4EvRn0a35jzlC__t90cIYEqhsTZKFp0MoahdacKqSIcm/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.amazon.com/101-Windows-Phone-Apps-Developing/dp/0672335522/ref=sr_1_1?ie=UTF8&amp;amp;qid=1323537156&amp;amp;sr=8-1&quot;&gt;http://www.amazon.com/101-Windows-Phone-Apps-Developing/dp/0672335522/ref=sr_1_1?ie=UTF8&amp;amp;qid=1323537156&amp;amp;sr=8-1&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
My best suggestion is reading this book if you have interested in developing Windows Phone Application.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Good points of this book&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
The best point of this book is a lot of tutorials are inside. You can learn step by step with building apps. The level of difficulty is up according from 1 to 50 samples.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Target of this book&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
You had better know xaml before you read this book. But you don&#39;t need to know whole sliverlight or WPF technology. Just glance basis of xaml.&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/4843837373793079231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/101-windows-phone-7-apps-volume-1-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/4843837373793079231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/4843837373793079231'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/101-windows-phone-7-apps-volume-1-is.html' title='101 Windows Phone 7 Apps Volume 1 is cool book'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_XewcDYffPAXigqafNtdJ2VH9CjGZSRThmXD9lqJD1js9RX4CGKmTYaR3OsC3pAN4Z9Gl0vvUV7IZ58g1JgYpDtfJ2G0WxCBG4EvRn0a35jzlC__t90cIYEqhsTZKFp0MoahdacKqSIcm/s72-c/%25E7%2584%25A1%25E9%25A1%258C.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4061076955365799787.post-7923761868009954501</id><published>2011-12-11T01:36:00.001+09:00</published><updated>2011-12-11T01:54:36.881+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Memo App"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><title type='text'>Memo app for Windows Phone released</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz0g2ceTK2Ul2bCh-1JaT6UW4Ge_yOaSW__wlquV-jviuUqZf-jd40XiHJklx3eS6cwmELf9oHXKn1gfcHYl0y3YC2ef_7J0J5MNhqvB-yYHaolewBNrAjbMxb8s-fVNtzPPoO9D24A5fv/s1600/20111120004659.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz0g2ceTK2Ul2bCh-1JaT6UW4Ge_yOaSW__wlquV-jviuUqZf-jd40XiHJklx3eS6cwmELf9oHXKn1gfcHYl0y3YC2ef_7J0J5MNhqvB-yYHaolewBNrAjbMxb8s-fVNtzPPoO9D24A5fv/s1600/20111120004659.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I am really excited to announce my Memo app for Windows Phone today.&lt;br /&gt;
&lt;a href=&quot;http://www.windowsphone.com/ja-JP/apps/01fada6f-ff7e-451b-b0b0-3bf3a5c0f655&quot; style=&quot;background-color: white; border-bottom-color: rgb(255, 107, 209); border-left-color: rgb(255, 107, 209); border-right-color: rgb(255, 107, 209); border-top-color: rgb(255, 107, 209); color: #ff6bd1; font-family: &#39;Lucida Grande&#39;, &#39;Hiragino Kaku Gothic Pro&#39;, &#39;ヒラギノ角ゴ Pro W3&#39;, Verdana, &#39;ＭＳ Ｐゴシック&#39;, sans-serif; font-size: 13px; line-height: 20px; text-align: left;&quot; target=&quot;_blank&quot;&gt;http://www.windowsphone.com/ja-JP/apps/01fada6f-ff7e-451b-b0b0-3bf3a5c0f655&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Please search and find my memo app in Market place, keywords are &quot;memo&quot;, &quot;note&quot; like that.&lt;br /&gt;
You can take a short memo like iPhone memo app.&lt;br /&gt;
&lt;br /&gt;
The most important thing I&#39;d like to add is &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;you can use trial version the most of same as functionality of full version and no limit.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Main page&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
There are notes you take. The first row of your memo is to be title. You can add new memo by + button.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjocv84ICV-e-yvfWz2_wCOp9pZYtp0FbAtOJ1xufrQgMPCWT7k1a5fOd11sNEYLE8y39lvT0v4UQR8QIyHAO0j2pBDIMWSTEsgcJ_SzMF09dNfbGgPyzd0NCy5A5GNTnng_Z1057TywgdG/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjocv84ICV-e-yvfWz2_wCOp9pZYtp0FbAtOJ1xufrQgMPCWT7k1a5fOd11sNEYLE8y39lvT0v4UQR8QIyHAO0j2pBDIMWSTEsgcJ_SzMF09dNfbGgPyzd0NCy5A5GNTnng_Z1057TywgdG/s400/1.png&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Memo page&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
You can take memo on this page. Keyboard goes down when you click &quot;Save&quot; button.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfhk6lPEEExVHHtkkiQPKIvCjscHK07bmIdb7Ut4V9DekFkoL-xDrC4AichtftZy6R8PuccwT9gHgmU0-YHgIx3rJi96U6UwyNiJTDTVTBcv-zo_ylhUJlGqCaSoI8opotgI3rls0CsINH/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfhk6lPEEExVHHtkkiQPKIvCjscHK07bmIdb7Ut4V9DekFkoL-xDrC4AichtftZy6R8PuccwT9gHgmU0-YHgIx3rJi96U6UwyNiJTDTVTBcv-zo_ylhUJlGqCaSoI8opotgI3rls0CsINH/s400/4.png&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;About Updates&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
I&#39;m going to add new features to memo app constantly.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
And, &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;Please don&#39;t forget rating and review.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Thanks,&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myprogrammingdial.blogspot.com/feeds/7923761868009954501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/memo-app-for-windows-phone-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/7923761868009954501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4061076955365799787/posts/default/7923761868009954501'/><link rel='alternate' type='text/html' href='http://myprogrammingdial.blogspot.com/2011/12/memo-app-for-windows-phone-released.html' title='Memo app for Windows Phone released'/><author><name>okame100</name><uri>http://www.blogger.com/profile/10962666644503127510</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz0g2ceTK2Ul2bCh-1JaT6UW4Ge_yOaSW__wlquV-jviuUqZf-jd40XiHJklx3eS6cwmELf9oHXKn1gfcHYl0y3YC2ef_7J0J5MNhqvB-yYHaolewBNrAjbMxb8s-fVNtzPPoO9D24A5fv/s72-c/20111120004659.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>