コード例 #1
0
 void CreateFormView_OnLoaded(Object sender, RoutedEventArgs e)
 {
     _viewModel              = (CreateFormViewModel)this.DataContext;
     _viewModel.CloseWindow += CloseWindow;
     ConfigureColumnGroups(1);
     Keyboard.Focus(this);
 }
コード例 #2
0
 void CreateFormView_OnLoaded(Object sender, RoutedEventArgs e)
 {
     _viewModel              = (CreateFormViewModel)this.DataContext;
     _viewModel.CloseWindow += CloseWindow;
     ConfigureColumnGroups(1);
     Keyboard.Focus(this);
     this.btnApplyUI.Visibility = _viewModel.IsXamarinFormsProject ? Visibility.Visible : Visibility.Collapsed;
 }