void DoSearchCommand(string searchText)
 {
     if (string.IsNullOrEmpty(searchText))
     {
         SearchPatrimoineList.Clear();
         SearchPatrimoineList.AddRange(PatrimoineList);
     }
     else
     {
         SearchPatrimoineList.Clear();
         SearchPatrimoineList.AddRange(PatrimoineList.Where(x => x.NomDuBien.Contains(searchText)));
     }
 }
 private void PatrimoineList_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
 {
     SearchPatrimoineList.Clear();
     SearchPatrimoineList.AddRange(PatrimoineList);
 }