private void SetEntitySearchList() { if (lokEntitySearch.ItemsSource == null) { lokEntitySearch.EditItemClicked += LokEntitySearch_EditItemClicked;; } BizEntitySearch biz = new BizEntitySearch(); lokEntitySearch.DisplayMember = "Title"; lokEntitySearch.SelectedValueMember = "ID"; lokEntitySearch.ItemsSource = biz.GetEntitySearchs(MyProjectManager.GetMyProjectManager.GetRequester(), EntityID); }