title: How to change the style of a button based on if else using DataTriggers in wpf mvvm
body: <p>I want to change the style of the button on the basis of if else condition when first the wpf application is getting loaded. On application loaded using if, there will be one style of button and in else part, there will be another. How to achieve this using Datatriggers or else using MVVM pattern. </p>
  
  <p>Kindly Suggest?</p>
  
  <p>Thanks</p>