The answer is simple: Since .NET 3.5 SP1 WPF forms have a ShowActivated
property. Set this to false and any form thus marked won’t steal no focus no more!
More Related Contents:
- Where do I get a thread-safe CollectionView?
- Making sure OnPropertyChanged() is called on UI thread in MVVM WPF app
- “The calling thread must be STA, because many UI components require this” error when creating a WPF pop-up Window in thread
- Using SynchronizationContext for sending events back to the UI for WinForms or WPF
- Can/Does WPF have multiple GUI threads?
- DispatcherTimer vs a regular Timer in WPF app for a task scheduler
- How do I get an animated gif to work in WPF?
- Handling Dialogs in WPF with MVVM
- How to populate a WPF grid based on a 2-dimensional array
- Image UriSource and Data Binding
- Apply stroke to a textblock in WPF
- System.Threading.Tasks – Limit the number of concurrent Tasks
- Updating an ObservableCollection in a separate thread
- How can I read/write app.config settings at runtime without using user settings?
- Enumerating .NET assembly resources at runtime
- WPF – How to force a Command to re-evaluate ‘CanExecute’ via its CommandBindings
- How to set and change the culture in WPF
- Custom MVVM implementation Vs. PRISM
- Lazy loading WPF tab content
- Going fullscreen on secondary monitor
- What does “{x:Static}” mean in XAML?
- DataGridTextColumn.IsReadOnly seems to be faulty
- WPF TextBox won’t fill in StackPanel
- How do You Create a Read-Only Dependency Property?
- Binding in a WPF data grid text column
- Create popup “toaster” notifications in Windows with .NET
- Drawing Pixels in WPF
- Prevent WebBrowser control from stealing focus?
- WPF slow to start on x64 in .NET Framework 4.0
- WPF, ‘Object reference not set to an instance of an object’ in Designer