title: enabling disabling button on checkbox check/uncheck wpf mvvm
body: <p>I have list of checkboxes on a window specifying some items to be ordered. I need to first disable the Order button when the windows loads and enable it after selecting/check  some items(checkboxes) and vice versa. I have bind the IsChecked property of the checkbox.</p>
  
  <p><strong>Edit</strong> Import from OP comment:-</p>
  
  <p>I have only one checkbox in the ItemsControl. and I have bind the ItemsControl's ItemsSource to List. that way we can show multiple checkboxes as per the items in the List. </p>
  
  <p>Here is the code:</p>
  
  <pre><code>&lt;ItemsControl ItemsSource="{Binding FavoriteItems}" Margin="80,0"&gt;
    &lt;ItemsControl.ItemTemplate&gt;
      &lt;DataTemplate&gt;
        &lt;Grid&gt;
          &lt;StackPanel&gt;
            &lt;Grid&gt;
              &lt;CheckBox IsChecked="{Binding IsHouseholdSelected}" Content="{Binding SubCategoryName}" Grid.ColumnSpan="1" FontFamily="Calibri" FontWeight="Bold" /&gt;
            &lt;/Grid&gt;
          &lt;/StackPanel&gt;
        &lt;/Grid&gt;
      &lt;/DataTemplate&gt;
    &lt;/ItemsControl.ItemTemplate&gt;
  </code></pre>