Is there a control that I could use for notifications/alerts? Also is there a way to incorporate buttons within them to action on?
Hello Somanna,
Thank you for posting to Infragistics Community!
I believe the xamDialogWindow is the control from the Ultimate UI for WPF suite you are looking for.
As its content is completely customizable, action buttons could easily be incorporated.
I can suggest checking out the following sample available within the Infragistics WPF Samples browser that comes with the product installation – xamDialogWindow -> Display -> Showing the dialog. By clicking on the “Show Message Box dialog” you will be able to see a similar dialog with action buttons within and check out how it is constructed in the “Code behind” section.
If you require any further assistance on the matter, please let me know.
Best regards, Bozhidara Pachilova Associate Software Developer
Hi Bozhidara,
Thanks for your reply. I had a look at xamDialogWindow. That is more a replacement for a MessageBox. I was looking for a control similar to Toast notifications. In Infragistics Winforms library we had a UltraDesktopAlert.
Thanks,
Som
Hi Som,
I am afraid that currently there is no equivalent of the UltraDesktopAlert control in the Ultimate UI for WPF suite. I noticed a similar Feature request has already been logged into the Infragistics Product Idea site here. My suggestion is to vote and comment on this idea, which would rank it higher in the list. This will allow for direct communication with our product management team regarding your product idea.
What I can suggest, though, is using the WinForms Desktop Alert in your WPF app. This can be achieved by following the “Hosting a Windows Forms Control in WPF” walkthrough from the official Microsoft Docs here.
Attached you will find a small WPF project demonstrating this. The Desktop Alert control has to be programmatically initialized and set using the same approaches as described in our documentation section “Using WinDesktopAlert".
In conclusion, please check out the referenced resources and let me know if they help.
0121.WPFAppHostWinDesktopAlert.zip
Thanks Bozhidara. I will try out your solution. I have upvoted that request, hopefully will be picked up soon by your dev team.
Hi,
Sure, please, take your time to test the suggested approaches, I hope they help. Thank you for using Infragistics components.
Best regards, Bozhidara Pachilova