This is a migrated thread and some comments may be shown as answers.

Alert Position on Dual Monitor Setup

2 Answers 220 Views
DesktopAlert
This is a migrated thread and some comments may be shown as answers.
Florian
Top achievements
Rank 2
Florian asked on 26 Oct 2015, 02:37 PM

Hello,

i am using RadDesktopAlert in my WPF Application on a dual monitor setup. 

I define the alert desktop position by setting the AlertScreenPosition.TopRight parameter.

The alert shows fine however, if my application is on the left monitor because of its StartUpLocation, the alert still shows on my main monitor.

I can't find a property to tell the alert to show on the monitor which contains the mouse. I hope this is possible and you can help me.

Regards,

Florian Meißner

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Nasko
Telerik team
answered on 27 Oct 2015, 12:42 PM
Hello Florian,

Instead of using one of the predefined positions of RadDesktopAlert you could use the ScreenPositionOffset  parameter of the DesktopAlertManager constructor to visualize RadDesktopAlert on the needed position.

For some more detailed information concerning the DesktopAlertManger, please check the following article:
http://docs.telerik.com/devtools/wpf/controls/raddesktopalert/desktop-alert-manager

We also suggest you to check the following sample project from our SDK Repository that demonstrates how you can easily visualize RadDesktopAlert  withing the application using the ScreenPositionOffset:
https://github.com/telerik/xaml-sdk/tree/master/DesktopAlert/DesktopAlertWithScreenPositionOffset

Hope this helps.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Florian
Top achievements
Rank 2
answered on 27 Oct 2015, 12:58 PM

Hello Nasko,

the Github sample you provided is very helpful, thank you!

I am now showing the alert relatively to my application, which is a much better approach with a multiple monitor setup.

Thanks for the help.

 Regards,

Florian Meißner

 

 

 

 

Tags
DesktopAlert
Asked by
Florian
Top achievements
Rank 2
Answers by
Nasko
Telerik team
Florian
Top achievements
Rank 2
Share this question
or