Ejemplo n.º 1
0
        private void EntityCustomDataEditor_OnLoaded(object sender, RoutedEventArgs e)
        {
            var entityCustomDataViewModel = DataContext as EntityCustomDataViewModel;

            if (entityCustomDataViewModel != null && entityCustomDataViewModel.IsMaskedTextBoxVisible)
            {
                EntityNameEdit.BackgroundFocus();
            }
            else
            {
                EntityNameEdit2.BackgroundFocus();
            }
        }
Ejemplo n.º 2
0
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     EntityNameEdit.BackgroundFocus();
 }