Last Updated: 23 Dec 2022 14:14 by ADMIN
Created on: 08 Dec 2015 08:37
Category: Window
Type: Feature Request
Window: Provide a way to set the control's TaskbarItemInfo
The default Window control exposes an TaskbarItemInfo (https://msdn.microsoft.com/en-us/library/system.windows.window.taskbariteminfo%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396) which is useful for manipulating the taskbar item of the Window instance.
Martin Ivanov
Posted on: 23 Dec 2022 14:14

Hello Horvardson,

You can use the HostCreated event of RadWindow. In the event handler, you can get the Window control that hosts the RadWindow visual and set its TaskBarItemInfo property. For example:

private void RadWindow_HostCreated(object sender, HostWindowCreatedEventArgs e)
	Window hostWindow = e.HostWindow;	
	hostWindow.TaskbarItemInfo = new System.Windows.Shell.TaskbarItemInfo() 
		Description = "some description here" 

Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Posted on: 20 Dec 2022 18:56

I was wondering, if there is any solution from Progress-Telerik. I just used a workaround for this:

In code behind file I made a property:

TaskbarItemInfo = new Lazy<TaskbarItemInfo>(() => { return System.Windows.Application.Current.MainWindow.TaskbarItemInfo = new TaskbarItemInfo(); });

Then in WorkerProgressChanged I set the states:

        TaskbarItemInfo.Value.ProgressState = TaskbarItemProgressState.Normal;
        TaskbarItemInfo.Value.ProgressValue = (double)progressUserState.Progress / 100;

This works for me. But I am wondering if there is an official solution for it?

Posted on: 08 Dec 2015 08:53
Would be very useful!