title: Enable/Disable Button When Listbox is Selected
body: <p>I have a ListBox </p>
  
  <pre><code>&lt;ListBox Background="WhiteSmoke"
           Name="LstComponents"
           ItemsSource="{Binding}"&gt;
      &lt;ListBox.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;StackPanel Orientation="Horizontal"&gt;
                  &lt;TextBlock Text="{Binding ComponentID}" /&gt;
                  &lt;TextBlock Text=" - " /&gt;
                  &lt;TextBlock Text="{Binding ComponentName}" /&gt;
              &lt;/StackPanel&gt;
          &lt;/DataTemplate&gt;
      &lt;/ListBox.ItemTemplate&gt;
  &lt;/ListBox&gt;
  </code></pre>
  
  <p>and a few buttons</p>
  
  <pre><code>&lt;Button Content="Add New Components"
                Name="BtnAdd"
                Margin="5"
                Click="BtnAdd_Click" /&gt;
  &lt;Button Content="Update Components"
                Name="BtnUpdate"
                Grid.Column="1"
                Margin="5"
                Click="BtnUpdate_Click" /&gt;
  &lt;Button Content="Delete Components"
                Grid.Column="2"
                Name="BtnDelete"
                Margin="5"
                Click="BtnDelete_Click" /&gt;
  </code></pre>
  
  <p>Now I wanted the Update and Delete button to be disabled when it is loaded whereas it should enable if the list item in the ListBox is selected. </p>
  
  <p>I don't want to write a code behind for it. Plz Suggest? How would i be able to accomplish this task in XAML</p>