private void txtSrchFarmer_TextChanged(object sender, TextChangedEventArgs e)
        {
            if(_vm ==null)
                _vm = DataContext as ListFarmersViewModel;

            TextBox txtBox = sender as TextBox;
               _vm.FilterFarmersCommand.Execute(txtBox.Text);
        }
 public ListFarmers()
 {
     InitializeComponent();
     _vm = this.DataContext as ListFarmersViewModel;
 }