Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions knowledge-base/dock-toolwindows-taskbar-winforms.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
title: Display ToolWindows on the Taskbar in WinForms
description: Learn how to make detached ToolWindows in your WinForms application visible on the taskbar.
type: how-to
page_title: How to Display ToolWindows on the Taskbar in WinForms
slug: dock-toolwindows-taskbar-winforms
tags: dock, toolwindow, floatingwindowcreated, showintaskbar
res_type: kb
ticketid: 1662442
---

## Environment

|Product Version|Product|Author|
|----|----|----|
|2024.3.806|RadDock for WinForms|[Dinko Krastev](https://www.telerik.com/blogs/author/dinko-krastev)|

## Description

In a WinForms application that uses RadDock, the DocumentWindow can be detached and displayed on the taskbar, but the ToolWindow, when detached, does not show up on the taskbar. This article explains how to make ToolWindows visible on the taskbar.

![WinForms RadDock ToolWindow Taskbar](images/dock-toolwindows-taskbar-winforms001.png)

## Solution

To make detached ToolWindows appear on the taskbar, subscribe to the `FloatingWindowCreated` event of `RadDock` and set the `ShowInTaskbar` property of the window to `true`.

````C#
public Form1()
{
InitializeComponent();
this.radDock1.FloatingWindowCreated += RadDock1_FloatingWindowCreated;
}

private void RadDock1_FloatingWindowCreated(object sender, Telerik.WinControls.UI.Docking.FloatingWindowEventArgs e)
{
e.Window.ShowInTaskbar = true;
}

````
````VB.NET

Public Sub New()
InitializeComponent()
AddHandler Me.radDock1.FloatingWindowCreated, AddressOf RadDock1_FloatingWindowCreated
End Sub

Private Sub RadDock1_FloatingWindowCreated(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.Docking.FloatingWindowEventArgs)
e.Window.ShowInTaskbar = True
End Sub

````

## See Also

* [RadDock Overview](https://docs.telerik.com/devtools/winforms/controls/raddock/overview)
* [Customizing Floating Windows]({%slug winforms/dock/object-model/customizing-floating-windows%})
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.