Did you try showing your window using the ShowDialog method?
Don’t forget to set the Owner property on the dialog window to the main window. This will avoid weird behavior when Alt+Tabbing, etc.
More Related Contents:
- Handling Dialogs in WPF with MVVM
- What’s the difference between StaticResource and DynamicResource in WPF?
- How do I get an animated gif to work in WPF?
- ResourceDictionary in a separate assembly
- How to populate a WPF grid based on a 2-dimensional array
- Image UriSource and Data Binding
- Access parent DataContext from DataTemplate
- Bind to a method in WPF?
- How can I add a hint text to WPF textbox?
- “Items collection must be empty before using ItemsSource.”
- How do I invert BooleanToVisibilityConverter?
- How do I set a ViewModel on a window in XAML using DataContext property?
- Change WPF DataTemplate for ListBox item if selected
- How to pass the UI Dispatcher to the ViewModel
- Using binding for the Value property of DataTrigger condition
- How to create/make rounded corner buttons in WPF?
- How can I convert ‘System.Windows.Input.Key’ to ‘System.Windows.Forms.Keys’?
- When should I use SnapsToDevicePixels in WPF 4.0?
- Making sure OnPropertyChanged() is called on UI thread in MVVM WPF app
- Use a StyleSelector for a button
- Coerce a WPF TextBox not working anymore in .NET 4.0
- When creating a new GUI, is WPF the preferred choice over Windows Forms? [closed]
- Windows 7 theme for WPF?
- Using SynchronizationContext for sending events back to the UI for WinForms or WPF
- Create popup “toaster” notifications in Windows with .NET
- How to test a WPF user interface?
- Drawing Pixels in WPF
- Difference between TargetType=”controlType” and TargetType=”{x:Type controlType}”
- WPF slow to start on x64 in .NET Framework 4.0
- WPF, ‘Object reference not set to an instance of an object’ in Designer