// This option doesn't make sense private void ShowDialogBoxActivateButton_Click(object sender, RoutedEventArgs e) { var tw = new ChildWindow(); // tw.ShowActivated = true; // true is the default value tw.ShowDialog(); }
// This option doesn't make sense private void ShowDialogBoxNoActivateButton_Click(object sender, RoutedEventArgs e) { var tw = new ChildWindow { ShowActivated = false }; tw.ShowDialog(); }
// This option doesn't make sense private void ShowDialogBoxNoActivateButton_Click(object sender, RoutedEventArgs e) { var tw = new ChildWindow {ShowActivated = false}; tw.ShowDialog(); }