| 
      
      <Window. Resources>
       <! -- Listbox scroll wheel smooth animation effect -->
       <ItemsPanelTemplate x: Key = "ItemsPanelTemplate1">
       <VirtualizingStackPanel IsItemsHost = "True">
       <I: Interaction. Behaviors>
       <Ei: FluidMoveBehavior AppliesTo = "Children"/>
       </I: Interaction. Behaviors>
       </VirtualizingStackPanel>
       </ItemsPanelTemplate>
       </Window. Resources>
      
     
      <Grid>
       <ListBox Height = "427" Margin = "," x: Name = "listBox1" verticalignment = "Top" d: layoutOverrides = "GridBox" ItemsPanel = "{DynamicResource ItemsPanelTemplate1}">
                   
       <! -- Set the background color of the selected item -->
       <ListBox. Resources>
       <Style TargetType = "{x: Type ListBoxItem}">
       <Style. Resources>
       <! -- Selected background color -->
       <SolidColorBrush x: Key = "{x: Static SystemColors. HighlightBrushKey}" Color = "# FFF0F0F0"/>
       <! -- Font color when selected -->
       <SolidColorBrush x: Key = "{x: Static SystemColors. HighlightTextBrushKey}" Color = "Green"/>
      
     
       </Style. Resources>
       </Style>
       </ListBox. Resources>
      
     
                  
                      
                   
       <ListBox. ItemTemplate>
       <DataTemplate>
       <! -- Modify the outer corner -->
       <Border BorderThickness = "5" BorderBrush = "# FFD9D6D6" Margin = "," CornerRadius = "5">
       <StackPanel Orientation = "Horizontal" Width = "400" Background = "# FFD9D6D6">
       <StackPanel Height = "80" Margin = "10, 0, 0, 0" HorizontalAlignment = "Center" Background = "# FFF5F3F3">
       <Image Source = "{Binding Image}" Style = "{StaticResource imagestyle}"/>
       <Canvas Height = "1" Margin = "," Background = "Black"/>
       </StackPanel>
      
     
      <StackPanel Width = "250" Margin = "20, 0,">
      
     
      <TextBlock Text = "{Binding Title}" Style = "{StaticResource titlestyle}"/>
       <TextBlock Text = "{Binding Author}" Style = "{StaticResource authorstyle}"/>
       <TextBlock Text = "{Binding Time}" Style = "{StaticResource timestyle}"/>
       <! -- <Canvas Height = "1" Margin = "," Background = "Black"/> -->
       </StackPanel>
       </StackPanel>
       </Border>
       </DataTemplate>
       </ListBox. ItemTemplate>
       </ListBox>
       </Grid>
       |