var topWindow = Application.Current.Windows.Cast<Window>().FirstOrDefault(win => win.Topmost);
Application.Current.Dispatcher.BeginInvoke(new Action(() => RadWindow.Alert(new DialogParameters
{
Content = "write your comment",
Header = "type header here",
DialogStartupLocation = WindowStartupLocation.Manual,
Left = targetX,
Top = targetY,
Owner = topWindow ?? Application.Current.MainWindow
})));
RadWindow.Alert getting hidden while switching between apps or Tab+Alt
Frage
I have a necessity of creating RadWindow.Alert and I am seeing this radwindow gets hidden when I switched between apps or press Tab+Alt .What is solution?
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow