public VendorCriteriaElement(bool isAddBtnVisible) : this()
 {
     Model = new VendorCriteriaViewModel(this, isAddBtnVisible);
 }
 public VendorCriteriaElement()
 {
     InitializeComponent();
     Model = new VendorCriteriaViewModel(this);
 }