private void FindDataContext_ItemSelected(object sender, ToGoClient.ItemSelectedEventArgs e) { // ClientToGoDetailsContext = new ToGoClientViewModel(e.SelectedOrderCustomer); Client = e.SelectedOrderCustomer; //CtrlClientToGoDetailsVisibility = Visibility.Visible; }
protected virtual void OnItemSelected(ItemSelectedEventArgs e) { ItemSelectedEventHandler handler = ItemSelected; handler?.Invoke(this, e); }