syncfusion-wpf-taskbar
Implement Syncfusion WPF TaskBar for Windows Explorer-style grouped task panels with collapsible TaskBarItem sections. Use this when building grouped collapsible panels, Windows XP-style sidebars, or expandable action panel sections in WPF. Covers TaskBarItem, GroupMargin, GroupPadding, GroupWidth, GroupOrientation, IsOpened, ButtonSize, and animation speed configuration.
How do I install this agent skill?
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-taskbarIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides standard documentation and code examples for implementing the Syncfusion WPF TaskBar control. No security issues were detected.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Implementing WPF TaskBar
The TaskBar control provides a Windows Explorer-style task panel UI — grouped collapsible sections (TaskBarItem) that can hold any WPF content. Ideal for action panels, property groups, navigation sidebars, and tool panels.
Assembly required:
Syncfusion.Tools.WPFSyncfusion.Shared.WPF
XAML namespace:
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
C# namespace:
using Syncfusion.Windows.Tools.Controls;
When to Use This Skill
| Scenario | Use TaskBar |
|---|---|
| Windows Explorer-style grouped action panel | ✅ Yes |
| Collapsible sidebar with grouped items | ✅ Yes |
| WPF tool panel with categorized sections | ✅ Yes |
| Simple tab control | ❌ Use TabControl |
| Navigation sidebar with drill-down | ❌ Use GroupBar or SfTreeNavigator |
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- Assembly and NuGet setup
- Adding TaskBar via XAML and C#
- Adding a TaskBarItem with a Header
- Adding content (text, panels) to TaskBarItem
Items and Content
📄 Read: references/items-and-content.md
- TaskBarItem Items collection (any UIElement)
- Custom header with image (DockPanel + Image + TextBlock)
- Collapse/expand with
IsOpenedattached property - Animation speed (
Speedattached property) - Expander button size (
ButtonSizeattached property)
Layout and Orientation
📄 Read: references/layout-and-orientation.md
GroupOrientation: Horizontal vs VerticalGroupOrientationChangedeventGroupMargin: spacing between itemsGroupPadding: internal content paddingGroupWidth: uniform item widthFlowDirection: LeftToRight / RightToLeft
Appearance and Visual Styles
📄 Read: references/appearance.md
SkinStorage.SetVisualStyle()— applying built-in visual styles- All available style names (Office2007, Blend, Metro, VS2010, etc.)
Quick Start Example
Minimal TaskBar with two groups (XAML):
<Window x:Class="MyApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
Title="MainWindow" Height="450" Width="300">
<Grid>
<syncfusion:TaskBar Name="taskBar" GroupMargin="5">
<syncfusion:TaskBarItem Header="File Tasks">
<StackPanel Margin="10">
<TextBlock Text="Open a file" />
<TextBlock Text="Save the file" />
</StackPanel>
</syncfusion:TaskBarItem>
<syncfusion:TaskBarItem Header="Edit Tasks">
<StackPanel Margin="10">
<TextBlock Text="Copy" />
<TextBlock Text="Paste" />
</StackPanel>
</syncfusion:TaskBarItem>
</syncfusion:TaskBar>
</Grid>
</Window>
C# equivalent:
TaskBar taskBar = new TaskBar();
taskBar.GroupMargin = new Thickness(5);
TaskBarItem item1 = new TaskBarItem() { Header = "File Tasks" };
item1.Items.Add(new TextBlock() { Text = "Open a file" });
taskBar.Items.Add(item1);
TaskBarItem item2 = new TaskBarItem() { Header = "Edit Tasks" };
item2.Items.Add(new TextBlock() { Text = "Copy" });
taskBar.Items.Add(item2);
this.Content = taskBar;
Common Patterns
Collapse all groups on load
<syncfusion:TaskBar Name="taskBar" syncfusion:TaskBar.IsOpened="False">
<syncfusion:TaskBarItem Header="Tasks" />
</syncfusion:TaskBar>
Horizontal layout (groups side by side)
<syncfusion:TaskBar GroupOrientation="Horizontal" GroupMargin="5">
...
</syncfusion:TaskBar>
Custom header with icon
<syncfusion:TaskBarItem>
<syncfusion:TaskBarItem.Header>
<DockPanel>
<Image Height="16" Width="16" Source="icon.png" />
<TextBlock Foreground="White" Margin="5,0,0,0" Text="My Group" />
</DockPanel>
</syncfusion:TaskBarItem.Header>
...
</syncfusion:TaskBarItem>
Apply visual style
SkinStorage.SetVisualStyle(taskBar, "Office2007Blue");
Key Properties
| Property | On | Type | Description |
|---|---|---|---|
Header | TaskBarItem | object | Group header label (supports templates) |
Items | TaskBarItem | collection | Content items in the group |
GroupMargin | TaskBar | Thickness | Margin between all TaskBarItems |
GroupWidth | TaskBar | double | Uniform width for all TaskBarItems |
GroupOrientation | TaskBar | Orientation | Vertical (default) or Horizontal |
FlowDirection | TaskBar | FlowDirection | LeftToRight or RightToLeft |
IsOpened | attached on TaskBar | bool | Expand (true) or collapse (false) all items |
TaskBar.Speed | attached | double | Animation speed for expand/collapse |
TaskBar.ButtonSize | attached | double | Height of the expander button |
TaskBar.GroupPadding | attached | Thickness | Padding inside each TaskBarItem |
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/syncfusion/wpf-ui-components-skills/syncfusion-wpf-taskbar">View syncfusion-wpf-taskbar on skillZs</a>