/syncfusion-winforms:syncfusion-winforms-xptaskbarfrom Syncfusion WinForms Controls
How to create and configure Syncfusion XPTaskBar controls in Windows Forms applications. Use this skill whenever the user needs to implement expandable task panels, create Windows XP-style task menus, build collapsible navigation panels, configure multi-box task bars, or customize task bar behavior with animations and events. Covers basic setup, box/item management, layout modes, events, customization, and spacing configuration.
Ships in Syncfusion WinForms Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use XPTaskBar when you need to:
XPTaskBar is a Windows Forms control that displays command items organized within collapsible boxes, mimicking the Windows XP task sidebar. The component hierarchy includes:
using Syncfusion.Windows.Forms.Tools;
// Create XPTaskBar control
XPTaskBar xpTaskBar1 = new XPTaskBar();
xpTaskBar1.Dock = DockStyle.Fill;
this.Controls.Add(xpTaskBar1);
// Create first task box
XPTaskBarBox box1 = new XPTaskBarBox();
box1.Text = "File Operations";
xpTaskBar1.Controls.Add(box1);
// Add items to the box
box1.Items.AddRange(new XPTaskBarItem[] {
new XPTaskBarItem("New Document", System.Drawing.Color.Empty, -1, "NewDoc"),
new XPTaskBarItem("Open File", System.Drawing.Color.Empty, -1, "OpenFile"),
new XPTaskBarItem("Save", System.Drawing.Color.Empty, -1, "Save")
});
// Handle item clicks
box1.ItemClick += (sender, e) => {
switch (e.XPTaskBarItem.Tag as string) {
case "NewDoc":
// Handle new document
break;
case "OpenFile":
// Handle file open
break;
}
};
// Create second task box
XPTaskBarBox box2 = new XPTaskBarBox();
box2.Text = "Editing Tools";
xpTaskBar1.Controls.Add(box2);
box2.Items.AddRange(new XPTaskBarItem[] {
new XPTaskBarItem("Cut", System.Drawing.Color.Empty, -1, "Cut"),
new XPTaskBarItem("Copy", System.Drawing.Color.Empty, -1, "Copy"),
new XPTaskBarItem("Paste", System.Drawing.Color.Empty, -1, "Paste")
});
Read the reference documentation in the order that matches your implementation needs:
📄 Read: references/getting-started.md
📄 Read: references/box-structure.md
📄 Read: references/items-and-content.md
📄 Read: references/layout-orientation.md
📄 Read: references/behavior-and-events.md
📄 Read: references/appearance-customization.md
📄 Read: references/padding-spacing-scrolling.md
Create a sidebar with multiple collapsible task categories:
var taskBar = new XPTaskBar { VerticalLayout = true };
// Create boxes for different task categories
foreach (var category in new[] { "File", "Edit", "View", "Help" }) {
var box = new XPTaskBarBox { Text = category };
taskBar.Controls.Add(box);
// Add items to box
}
Use the Tag property to implement event routing:
box.ItemClick += (sender, e) => {
var command = e.XPTaskBarItem.Tag as string;
ExecuteCommand(command);
};
Remember user preferences across sessions:
xpTaskBar1.AutoPersistStates = true;
Control animation behavior during expand/collapse:
box.AnimationDelay = 50; // Milliseconds between frames
box.AnimationPositionsCount = 15; // Number of animation steps
box.UseAdditionalAnimation = true; // Animate when adding/removing items
| Property | Type | Purpose |
|---|---|---|
VerticalLayout | bool | Set true for vertical mode (default), false for horizontal |
ColWidthOnHorizontalAlignment | int | Column width in horizontal layout mode |
HorizontalPadding | int | Interior horizontal spacing |
VerticalPadding | int | Interior vertical spacing |
AutoScroll | bool | Enable automatic scrollbars when needed |
AutoPersistStates | bool | Persist expanded/collapsed state between sessions |
AllowDrop | bool | Enable drag-and-drop support |
MinimumSize | Size | Minimum control dimensions |
| Property | Type | Purpose |
|---|---|---|
Text | string | Box header display text |
Collapsed | bool | Set true to collapse, false to expand |
ShowCollapseButton | bool | Show/hide collapse button |
ToggleByButton | bool | Allow button to toggle state |
HeaderBackColor | Color | Header background color |
HeaderForeColor | Color | Header text color |
HeaderFont | Font | Header text font |
HeaderTextAlign | StringAlignment | Header text alignment |
AnimationDelay | int | Delay in ms between animation frames |
AnimationPositionsCount | int | Number of animation steps |
PreferredChildPanelHeight | int | Height reserved for child controls |
ShowToolTip | bool | Enable tooltips for items |
PADX | int | Horizontal header padding |
PADY | int | Vertical header padding |
| Property | Type | Purpose |
|---|---|---|
Text | string | Item display text |
ImageIndex | int | Index in parent box's ImageList |
ToolTipText | string | Tooltip text on hover |
Tag | object | Custom data for event routing |
Next Step: Start with references/getting-started.md to set up your first XPTaskBar control.
references/appearance-customization.md (opens in a new tab)references/behavior-and-events.md (opens in a new tab)references/box-structure.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/items-and-content.md (opens in a new tab)references/layout-orientation.md (opens in a new tab)references/padding-spacing-scrolling.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winforms113 skills in this plugin
/syncfusion-winforms-ai-assistviewGuide for implementing Syncfusion Windows Forms AI AssistView (SfAIAssistView) for building conversational AI interfaces in desktop applications. Use this when creating chat interfaces, AI assistants, or chatbots with Windows Forms. Supports OpenAI and Azure OpenAI integration, typing indicators, chat suggestions, message bubbles, custom views, input toolbar with attachments, response toolbar actions, and stop responding for interactive messaging experiences./syncfusion-winforms-autocompleteGuides implementation of the Syncfusion WinForms AutoComplete control for text input with auto-suggestion functionality. Use when users want to add autocomplete textboxes, implement auto-suggestion features, create search boxes with suggestions, enable URL/email autocomplete, or build type-ahead search functionality in Windows desktop applications. Covers data binding, customization, filtering, multi-column dropdowns, events, and all AutoComplete-specific features./syncfusion-winforms-autolabelGuides implementation of the Syncfusion WinForms AutoLabel control for automatic label positioning with form controls. Use when users want to add labels that automatically reposition when controls move, create form layouts with paired label-control units, implement complex form designs with FlowLayout, or ensure labels stay synchronized with their associated controls. Covers labeling controls, positioning, spacing, size settings, theming, and events.Other plugins' skills for the same job