Alert Position on Dual Monitor Setup

3 posts, 1 answers
  1. Florian
    Florian avatar
    26 posts
    Member since:
    Nov 2012

    Posted 26 Oct 2015 Link to this post

    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. Answer
    Nasko
    Admin
    Nasko avatar
    588 posts

    Posted 27 Oct 2015 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Florian
    Florian avatar
    26 posts
    Member since:
    Nov 2012

    Posted 27 Oct 2015 Link to this post

    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

     

     

     

     

Back to Top