private void GridSizeTextBox_LostFocus(object sender, RoutedEventArgs e)
{
var textBox = sender as NumericTextBox;
if (textBox == null)
return;
if (String.IsNullOrEmpty(textBox.Text))
textBox.Text = "10";
if (textBox.Tag.Equals("Editor"))
AdjustToSize();
else
AdjustToSizeBoard();
}