This Code Example demonstrates how to use the WinUIDialogWindow and WinUIMessageBox controls. The example contains two projects: one demonstrates how to use the controls in the MVVM pattern, and the other - in code behind. The first project uses special services: WinUIDialogService and WinUIMessageBoxService. In the second project, the dialog and MessageBox are shown using the WinUIDialogWindow.ShowDialogWindow and WinUIMessageBox.Show methods.
Question Comments
Added By: Jaime López Portillo at: 1/14/2015 10:53:33 AM
I can't seem to find any documentation regarding WinUIDialogWindow and WinUIMessageBox detailing their properties, constructors and methods, can you please provide me the full documentation link?
Added By: Andrey Marten (DevExpress Support) at: 1/14/2015 12:08:47 PMHello,
To process your recent post more efficiently, I created a separate ticket on your behalf: T196769: Where the documentation for WinUIDialogWindow and WinUIMessageBox can be found. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.
Thanks,
Andrey
I'm new to DevExpress.
Something seems to be very wrong with your example, as outlined below:
Something's not right with the following line because it constantly gets pounded and causes a sustained CPU usage at 30% (dual core 2.0gHz I7). Close the dialog window and the CPU drops back to 0%.
bool OnRegisterCommandCanExecute(CancelEventArgs parameter) { return !string.IsNullOrEmpty(UserName); }
Do you have a working example that doesn't significantly impact a CPU? A dialog window should never consume CPU resources waiting to be closed.
Thank you
Added By: Andrey Marten (DevExpress Support) at: 4/13/2015 12:50:15 AM
Hello,
To process your recent post more efficiently, I created a separate ticket on your behalf: T229667: WinUIDialogService - CPU usage increases if the command's CanExecute method is implemented. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.
Thanks,
Andrey