private void TekstPropRafALL_LostFocus(object sender, RoutedEventArgs e)
        {
            if (TekstPropALL != null)
            {
                if (TekstPropALL.Count() >= 2)
                {
                    if (clearTekstOnExit == true)
                    {
                        TekstPropALL       = string.Empty;
                        selectedIdRafALL   = -3;
                        selectedItemRafALL = null;
                    }
                    else
                    {
                        //var sel = listToDisplay.FirstOrDefault(r => r.nazwa == TekstPropALL);

                        //if (sel != null)
                        //{
                        //    selectedIdRafALL = sel.id;
                        //}
                        //else
                        //{
                        //    selectedIdRafALL = -1;
                        //}
                    }
                }
            }
        }
 private void TekstPropRafALL_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (UserControlChanged != null)
     {
         if (TekstPropALL.Count() >= 2)
         {
             UserControlChanged(this, EventArgs.Empty);
         }
     }
 }