I have a modal window in the WPF and the ShowInTaskbar
is set to true for this window but The app icon is not appearing in the taskbar every time this model window. Occasionally the icon appears in the taskbar and sometimes it does not. But the application icon always appears in the taskbar when it launches the modal window (using the ShowDialog
). Window style is set to: 3DBorder window
The code to show the modal window is:
winIHelper = new WindowInteropHelper ( _shell); _shell.SizeToContent = SizeToContent.WidthAndHeight; WinIHelper.Owner = parentHandle; _shell.ShowInTaskbar = true; _shell.Activate (); _shell.ShowDialog ();
I had a case where ShowInTaskbar
is not working
No comments:
Post a Comment