private static void IndexTextInput(object sender, TextCompositionEventArgs e) { e.Handled = !TextFilter.NumericInput(e.Text); }