<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,15 +4,38 @@
 using System;
 using System.Collections.Generic;
 using System.ComponentModel;
+using System.Linq;
 using NewsWidget.Data;
 
 namespace NewsWidget.Views.News {
 
     public class ListPageModel : Model {
 
+        private bool _filterToday;
+
+        public bool FilterToday {
+            get {
+                return _filterToday;
+            }
+            set {
+                _filterToday = value;
+                RaisePropertyChanged(&quot;FilterToday&quot;, &quot;ListItems&quot;);
+            }
+        }
+
         public IEnumerable&lt;NewsItem&gt; Items {
             get;
             set;
         }
+
+        public IEnumerable&lt;NewsItem&gt; ListItems {
+            get {
+                if (_filterToday == false) {
+                    return Items;
+                }
+
+                return Items.Where(item =&gt; item.PublishDate.Date == DateTime.UtcNow.Date);
+            }
+        }
     }
 }</diff>
      <filename>samples/News/Views/News/ListPage.Model.cs</filename>
    </modified>
    <modified>
      <diff>@@ -6,8 +6,8 @@
   xmlns:fxnav=&quot;clr-namespace:SilverlightFX.UserInterface.Navigation;assembly=SilverlightFX&quot;
   xmlns:fxaction=&quot;clr-namespace:SilverlightFX.UserInterface.Actions;assembly=SilverlightFX&quot;
   x:Class=&quot;NewsWidget.Views.News.ListPage&quot; ModelType=&quot;NewsWidget.Views.News.ListPageModel&quot;&gt;
-  &lt;Grid&gt;
-    &lt;fxui:ListView Style=&quot;{StaticResource newsItemListStyle}&quot; DataSource=&quot;{Binding Items}&quot;&gt;
+  &lt;fxui:XGrid Rows=&quot;*,Auto&quot;&gt;
+    &lt;fxui:ListView Style=&quot;{StaticResource newsItemListStyle}&quot; DataSource=&quot;{Binding ListItems}&quot;&gt;
       &lt;fxui:ListView.ItemTemplate&gt;
         &lt;DataTemplate&gt;
           &lt;Border CornerRadius=&quot;4&quot; Cursor=&quot;Hand&quot;&gt;
@@ -47,5 +47,9 @@
         &lt;fxui:MouseWheelScroll /&gt;
       &lt;/fxui:Interaction.Behaviors&gt;
     &lt;/fxui:ListView&gt;
-  &lt;/Grid&gt;
+
+    &lt;CheckBox Grid.Row=&quot;1&quot; HorizontalAlignment=&quot;Center&quot;
+      IsChecked=&quot;{Binding FilterToday, Mode=TwoWay}&quot;
+      Content=&quot;Show only today's news&quot; /&gt;
+  &lt;/fxui:XGrid&gt;
 &lt;/fxnav:Page&gt;</diff>
      <filename>samples/News/Views/News/ListPage.xaml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c6e9a57beaea879a2e35ddc689b97c4805442edb</id>
    </parent>
  </parents>
  <author>
    <name>NikhilK</name>
    <email>nikhilk@live.com</email>
  </author>
  <url>http://github.com/NikhilK/silverlightfx/commit/9cae565ad0b3e4bc3c91327963bcb3428443ff87</url>
  <id>9cae565ad0b3e4bc3c91327963bcb3428443ff87</id>
  <committed-date>2009-05-29T00:55:18-07:00</committed-date>
  <authored-date>2009-05-29T00:55:18-07:00</authored-date>
  <message>Update News sample with slightly more interesting view model</message>
  <tree>440203cb8d43bb8ff5c9f2d9241aa300367229cb</tree>
  <committer>
    <name>NikhilK</name>
    <email>nikhilk@live.com</email>
  </committer>
</commit>
