Flashing window in taskbar

2 posts, 0 answers
  1. M L
    M L avatar
    16 posts
    Member since:
    May 2010

    Posted 12 Jun 2014 Link to this post

    How to make the RadWindow flash in taskbar?
    One of the popular chatting programms does that - when you get a message, it's taskbar representation turns blue. Is it possible to do the same with a RadWindow?
    What I've tried so far:
    first I've made the window to appear in the taskbar by adding this to xaml:

    Next i tried googling how to do that for a regular wpf window and found something like this:
    this compiles nicely but doesnt work in my case even for a wpf window. However, if i use it for a radwindow by using something like this:

    public static void FlashWindow(RadWindow control)
                var window = control.ParentOfType<Window>();
    I get a null pointer exception. (there is no null pointer for regular window, but it doesnt seem to be flashing either)

    Anyway, I don't really mind the method, I would just like to be able to make the taskbar window flash (system flash or manual changing of the background color on the taskbar if there is such an option?)
    Is it possible with a RadWindow and if so - how to do it?
  2. Kalin
    Kalin avatar
    1358 posts

    Posted 13 Jun 2014 Link to this post


    You can check the this article which demonstrates a working approach. I have also created a sample project using the sample from there and attached it here, note that the Window in TaskBar is flashes only when the Window is not active.

    Hope this will help you to achieve the desired.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top