title: How to bind to specific property in list box
body: <p>I need to change the boldness of text in list item on first selection.</p>
  
  <p>Xaml:</p>
  
  <pre><code>&lt;DockPanel &gt;
          &lt;TextBox DockPanel.Dock="Top" Text="{Binding FilterText, UpdateSourceTrigger=PropertyChanged}"&gt;&lt;/TextBox&gt;
          &lt;ListBox x:Name="list" ItemsSource="{Binding EmailsCollection}" SelectedItem="{Binding SelectedItem}"&gt;
              &lt;ListBox.ItemTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;Grid &gt;
                          &lt;Grid.ColumnDefinitions&gt;
                              &lt;ColumnDefinition /&gt;
                              &lt;ColumnDefinition /&gt;
                          &lt;/Grid.ColumnDefinitions&gt;
                          &lt;Grid.RowDefinitions&gt;
                              &lt;RowDefinition /&gt;
                              &lt;RowDefinition /&gt;
                          &lt;/Grid.RowDefinitions&gt;
                          &lt;Label Content="{Binding Sender}"  Name="SenderLabel" FontWeight="{Binding IsRead,  Converter={StaticResource Converter}}"/&gt;
                          &lt;!--Style="{StaticResource Sender}"--&gt;
                          &lt;Label Grid.Row="1" Content="{Binding Subject}" FontSize="12" HorizontalAlignment="Left" /&gt;
                          &lt;Label Grid.Column="1" Content="{Binding Date}" FontSize="12" HorizontalAlignment="Right" /&gt;
                      &lt;/Grid&gt;
                  &lt;/DataTemplate&gt;
              &lt;/ListBox.ItemTemplate&gt;
          &lt;/ListBox&gt;
      &lt;/DockPanel&gt;
  </code></pre>
  
  <p>View model:</p>
  
  <pre><code>public Email SelectedItem
      {
          get
          {
              return _selectedItem;
          }
  
          set
          {
              _selectedItem = value;
              _selectedItem.IsRead = true;
              OnPropertyChanged(this,"SelectedItem");
  
          }
      }
  </code></pre>
  
  <p>Model:</p>
  
  <pre><code>public bool IsRead
      {
          get { return _isRead; }
          set
          {
              _isRead = value;
              OnPropertyChanged(this, "IsRead");
          }
      }
  </code></pre>
  
  <p>How can i bind to "IsRead" property of selected item in list?
  The current way goes over all Emails in the beginning and doesn't change anything after.</p>