/syncfusion-winforms:syncfusion-winforms-tabcontrolfrom Syncfusion WinForms Controls
Guide for implementing Syncfusion TabControlAdv in Windows Forms applications. Use when creating tabbed interfaces, organizing content in tabs, or building professional tab navigation systems. Covers tab pages, tab styling, close buttons, drag-drop tabs, tab customization, and appearance options for TabControlAdv-based applications.
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.
The TabControlAdv is an advanced Windows Forms tab control that enables organizing visual content in a compact, tabbed interface. It extends the standard TabControl with extensive appearance customization, navigation features, editing capabilities, and styling options.
Use this skill when you need to:
TabControlAdv provides:
📄 Read: references/getting-started.md
📄 Read: references/alignment-layout.md
📄 Read: references/appearance-customization.md
📄 Read: references/interactive-features.md
📄 Read: references/tab-navigation.md
📄 Read: references/customization-editing.md
📄 Read: references/serialization.md
📄 Read: references/events.md
using Syncfusion.Windows.Forms.Tools;
// Create TabControlAdv
TabControlAdv tabControlAdv1 = new TabControlAdv();
tabControlAdv1.Size = new Size(400, 300);
// Create and add tab pages
TabPageAdv tabPage1 = new TabPageAdv();
tabPage1.Text = "Home";
tabPage1.ImageIndex = 0; // Optional icon
TabPageAdv tabPage2 = new TabPageAdv();
tabPage2.Text = "Settings";
tabControlAdv1.TabPages.Add(tabPage1);
tabControlAdv1.TabPages.Add(tabPage2);
// Add to form
this.Controls.Add(tabControlAdv1);
// Apply Office 2016 theme
tabControlAdv1.TabStyle = typeof(TabRendererOffice2016Colorful);
// Enable features
tabControlAdv1.ShowTabCloseButton = true;
tabControlAdv1.UserMoveTabs = true;
tabControlAdv1.LabelEdit = true;
tabControlAdv1.ShowToolTips = true;
// Customize appearance
tabControlAdv1.ActiveTabColor = Color.FromArgb(255, 255, 255);
tabControlAdv1.InactiveTabColor = Color.FromArgb(240, 240, 240);
tabControlAdv1.ActiveTabFont = new Font("Segoe UI", 9F, FontStyle.Bold);
// Create tab control for documents
TabControlAdv documentTabs = new TabControlAdv();
documentTabs.Dock = DockStyle.Fill;
documentTabs.ShowTabCloseButton = true;
documentTabs.ShowCloseButtonForActiveTabOnly = true;
// Add document tabs dynamically
void AddDocumentTab(string title, Control content)
{
TabPageAdv docTab = new TabPageAdv();
docTab.Text = title;
docTab.Controls.Add(content);
content.Dock = DockStyle.Fill;
documentTabs.TabPages.Add(docTab);
documentTabs.SelectedTab = docTab;
}
// Handle tab closing
documentTabs.SelectedTab.Closing += (sender, e) =>
{
var result = MessageBox.Show("Save changes?", "Close",
MessageBoxButtons.YesNoCancel);
if (result == DialogResult.Cancel)
e.Cancel = true;
};
// Setup image list
ImageList tabImages = new ImageList();
tabImages.Images.Add("home", Properties.Resources.HomeIcon);
tabImages.Images.Add("settings", Properties.Resources.SettingsIcon);
tabControlAdv1.ImageList = tabImages;
// Create tabs with icons
TabPageAdv homeTab = new TabPageAdv();
homeTab.Text = "Home";
homeTab.ImageIndex = 0;
TabPageAdv settingsTab = new TabPageAdv();
settingsTab.Text = "Settings";
settingsTab.ImageIndex = 1;
// Configure alignment
tabControlAdv1.ImageAlignmentR = RelativeImageAlignment.LeftOfText;
// Enable navigation primitives
tabControlAdv1.TabPrimitivesHost.Visible = true;
// Add navigation buttons
tabControlAdv1.TabPrimitivesHost.TabPrimitives.Add(
new TabPrimitive(TabPrimitiveType.FirstTab, null, Color.Empty, true, 1, "First"));
tabControlAdv1.TabPrimitivesHost.TabPrimitives.Add(
new TabPrimitive(TabPrimitiveType.PreviousTab, null, Color.Empty, true, 1, "Previous"));
tabControlAdv1.TabPrimitivesHost.TabPrimitives.Add(
new TabPrimitive(TabPrimitiveType.NextTab, null, Color.Empty, true, 1, "Next"));
tabControlAdv1.TabPrimitivesHost.TabPrimitives.Add(
new TabPrimitive(TabPrimitiveType.LastTab, null, Color.Empty, true, 1, "Last"));
tabControlAdv1.TabPrimitivesHost.TabPrimitives.Add(
new TabPrimitive(TabPrimitiveType.DropDown, null, Color.Empty, true, 1, "DropDown"));
// Prevent selection of specific tab
tabControlAdv1.SelectedIndexChanging += (sender, e) =>
{
if (e.NewSelectedIndex == 2) // Prevent selecting 3rd tab
{
e.Cancel = true;
MessageBox.Show("This tab is disabled");
}
};
// React to selection changes
tabControlAdv1.SelectedIndexChanged += (sender, e) =>
{
var selectedTab = tabControlAdv1.SelectedTab;
Console.WriteLine($"Selected tab: {selectedTab.Text}");
// Load content for selected tab
};
| Property | Type | Description |
|---|---|---|
TabPages | Collection | Collection of TabPageAdv items |
SelectedIndex | int | Index of currently selected tab |
SelectedTab | TabPageAdv | Currently selected tab page |
Alignment | TabAlignment | Tab position (Top, Bottom, Left, Right) |
Multiline | bool | Allow tabs in multiple rows |
| Property | Type | Description |
|---|---|---|
TabStyle | Type | Theme renderer (2D, 3D, Metro, Office, VS styles) |
ActiveTabColor | Color | Background color of active tab |
InactiveTabColor | Color | Background color of inactive tabs |
ActiveTabFont | Font | Font for active tab text |
SizeMode | TabSizeMode | Tab sizing mode |
| Property | Type | Description |
|---|---|---|
ShowTabCloseButton | bool | Show close button on tabs |
UserMoveTabs | bool | Enable drag-drop tab reordering |
LabelEdit | bool | Enable runtime tab text editing |
ShowToolTips | bool | Enable tooltips on tabs |
ShowScroll | bool | Show scroll buttons when tabs overflow |
| Property | Type | Description |
|---|---|---|
TabPrimitivesHost | TabPrimitivesHost | Container for navigation buttons |
SwitchPagesForDialogKeys | bool | Enable Ctrl+Tab navigation |
Create a tabbed settings dialog with categories like "General", "Appearance", "Advanced":
Alignment = TabAlignment.Left for vertical tabsTabStyleImageListBuild a document editor with closeable tabs:
ShowTabCloseButton = trueClosing event to prompt for unsaved changesUserMoveTabs = true for reorderingCreate a step-by-step wizard with disabled tab selection:
SelectedIndexChanging to control navigationOrganize dashboard content into sections:
Multiline = true for many tabsSizeMode.FillToRight for uniform tab widthsShowScroll for overflow handlingRequired assemblies:
Syncfusion.Shared.Base.dllSyncfusion.Shared.Windows.dllSyncfusion.Tools.Base.dllSyncfusion.Tools.Windows.dllFor Grid controls in tabs, also add:
Syncfusion.Grid.Base.dllSyncfusion.Grid.Windows.dllreferences/alignment-layout.md (opens in a new tab)references/appearance-customization.md (opens in a new tab)references/customization-editing.md (opens in a new tab)references/events.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/interactive-features.md (opens in a new tab)references/serialization.md (opens in a new tab)references/tab-navigation.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