Hi,
I'm using this code to show a modal RadWindow:
it opens a RadWindow as modal, in the main window, but when I minimize that main window - my modal RadWindow dissapears, its only available with Alt+Tab windows keys - and only the main window is shown. And the worst - main window's button, that opened my RadWindow - can be hit with Enter key (not with mouse tho).
What should I do to make it trully 'modal'? TIA
I'm using this code to show a modal RadWindow:
private
void
SendCommandExecuted(
object
parameter)
{
PopupDeviceView popupDeviceView =
new
PopupDeviceView();
PopupDeviceViewModel popupDeviceViewModel = (PopupDeviceViewModel)popupDeviceView.DataContext;
RadWindow radWindow =
new
RadWindow();
radWindow.Content = popupDeviceView;
radWindow.WindowStartupLocation = WindowStartupLocation.CenterOwner;
radWindow.ResizeMode = ResizeMode.NoResize;
radWindow.CanClose =
false
;
radWindow.CanMove =
false
;
radWindow.ShowDialog();
}
it opens a RadWindow as modal, in the main window, but when I minimize that main window - my modal RadWindow dissapears, its only available with Alt+Tab windows keys - and only the main window is shown. And the worst - main window's button, that opened my RadWindow - can be hit with Enter key (not with mouse tho).
What should I do to make it trully 'modal'? TIA