2013年6月4日 星期二

VideoBookmark Windows Store App: Privacy Statement

Last updated: June 2013

Collection and Use of Your Information
When you use the application, we did not collection or use any your information, such as your location or IP.

We did not collect any your information, so it would not have sold, transmit, exchanged, or used without your consent behavior.

When you access or use the application, we have implemented a variety of security measures to safeguard your personal information will be safe.

We did not sell or share your personal information with third parties.

Your Choices

By using our applications, you agree to our application's privacy policies.

Updates to this Privacy Statement

If there are material changes in how to collect, use, or share your personal information, we will notify you directly through an update to the app. We encourage you to periodically review this statement.

Questions or Concerns

If you have questions about this statement or believe that we have not adhered to it, please contact us:

lsongbeeservice@gmail.com

 

2013年6月1日 星期六

[W8App] ListBox Binding data (5) – notify count changed

要如何得知ListBox繫結的資料數量有變化呢?由於資料來源是透過繫結,所以要得知資料量有有更動時必需加入聆聽ListBox.Items.VectorChanged事件。

   1: myListBox.Items.VectorChanged += VectorChangedEventHandler;


當數量改變時,會呼叫指定的VectorChangedEventHander函式:



   1: public void VectorChangedEventHandler(IObservableVector<object> sender, IVectorChangedEventArgs e)
   2: {
   3:     myListBox.Visibility = (sender.Count > 0) ? Visibility.Visible : Visibility.Collapsed;
   4:  
   5:     String strValue = String.Format(@"({0})", sender.Count);
   6:  
   7:     Debug.WriteLine(strValue);
   8: }