private TextBox Focused()
 {
     if (NameTb.Focus())
     {
         return(NameTb);
     }
     else if (ValueTb.Focus())
     {
         return(ValueTb);
     }
     else if (DescriptionTb.Focus())
     {
         return(DescriptionTb);
     }
     else if (SearchTB.Focus())
     {
         return(SearchTB);
     }
     else
     {
         return(NameTb);
     }
 }
 private void ValueTb_MouseDown(object sender, MouseButtonEventArgs e)
 {
     ValueTb.Focusable  = true;
     ValueTb.CaretIndex = ValueTb.CaretIndex;
     ValueTb.Focus();
 }