/syncfusion-winforms:syncfusion-winforms-splitbuttonfrom Syncfusion WinForms Controls
Guide for implementing Syncfusion WinForms SplitButton control - a hybrid button with dropdown menu. Use this when creating controls that combine button and dropdown functionality, toggle modes with menu options, or Office-style split buttons. Covers dynamic caption updates, custom button rendering, and toggle mode 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.
Required assemblies:
Syncfusion.Grid.BaseSyncfusion.Grid.WindowsSyncfusion.Shared.BaseSyncfusion.Shared.WindowsSyncfusion.Tools.BaseSyncfusion.Tools.WindowsNuGet Package: Install-Package Syncfusion.Tools.Windows
Use this skill when users need to implement Syncfusion SplitButton control in WinForms applications. This control is ideal for:
The SplitButton control provides two button modes (Normal and Toggle), dynamic caption management, built-in Office2016 themes, and extensive customization through custom renderers.
The SplitButton control is a hybrid control that behaves like a button with an integrated dropdown menu. When clicked on the button portion, it executes a primary action. When clicked on the dropdown arrow, it displays a menu of additional options. This pattern is commonly seen in applications like Microsoft Word (Save/Save As) or Outlook (Reply/Reply All).
Key Capabilities:
📄 Read: references/getting-started.md
Read this first for basic setup and implementation:
📄 Read: references/button-modes.md
Use when users need different button behaviors:
📄 Read: references/button-caption.md
Use when users need to:
📄 Read: references/visual-styles.md
Use when users want to:
📄 Read: references/advanced-customization.md
Use when users require:
Here's a minimal example showing how to create a SplitButton with dropdown items:
Designer Approach:
Text property to "Actions"DropDownItems property editor to add itemsStyle property to "Office2016Colorful"Code Approach (C#):
using Syncfusion.Windows.Forms.Tools;
// Create SplitButton
SplitButton splitButton = new SplitButton();
splitButton.Text = "Save";
splitButton.Size = new Size(120, 40);
splitButton.Location = new Point(20, 20);
splitButton.Style = SplitButtonVisualStyle.Office2016Colorful;
// Add dropdown items
ToolStripMenuItem saveItem = new ToolStripMenuItem("Save");
ToolStripMenuItem saveAsItem = new ToolStripMenuItem("Save As...");
ToolStripMenuItem saveAllItem = new ToolStripMenuItem("Save All");
splitButton.DropDownItems.Add(saveItem);
splitButton.DropDownItems.Add(saveAsItem);
splitButton.DropDownItems.Add(saveAllItem);
// Add to form
this.Controls.Add(splitButton);
Code Approach (VB.NET):
Imports Syncfusion.Windows.Forms.Tools
' Create SplitButton
Dim splitButton As New SplitButton()
splitButton.Text = "Save"
splitButton.Size = New Size(120, 40)
splitButton.Location = New Point(20, 20)
splitButton.Style = SplitButtonVisualStyle.Office2016Colorful
' Add dropdown items
Dim saveItem As New ToolStripMenuItem("Save")
Dim saveAsItem As New ToolStripMenuItem("Save As...")
Dim saveAllItem As New ToolStripMenuItem("Save All")
splitButton.DropDownItems.Add(saveItem)
splitButton.DropDownItems.Add(saveAsItem)
splitButton.DropDownItems.Add(saveAllItem)
' Add to form
Me.Controls.Add(splitButton)
Update button text when user selects a dropdown item:
private void splitButton1_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e)
{
// Set button caption to selected item text
splitButton1.Text = e.ClickedItem.Text;
}
Create a toggle button with dropdown options:
splitButton1.ButtonMode = ButtonMode.Toggle;
splitButton1.IsButtonChecked = false; // Initially unchecked
// Check if button is toggled
if (splitButton1.IsButtonChecked)
{
// Perform checked state action
}
Add or remove dropdown items at runtime:
// Add new item
ToolStripMenuItem newItem = new ToolStripMenuItem("New Option");
splitButton1.DropDownItems.Add(newItem);
// Remove specific item
splitButton1.DropDownItems.Remove(existingItem);
// Remove by index
splitButton1.DropDownItems.RemoveAt(0);
Apply Office2016 theme to match application:
// Or use ThemeName property
splitButton1.ThemeName = "Office2019Colorful";
Essential Properties:
| Property | Type | Description | When to Use |
|---|---|---|---|
Text | string | Button caption text | Set static button label or update from selected item |
ButtonMode | ButtonMode | Normal or Toggle mode | Toggle for checked/unchecked state, Normal for standard click |
IsButtonChecked | bool | Toggle state (checked/unchecked) | Control or query toggle button state |
DropDownItems | ToolStripItemCollection | Collection of dropdown menu items | Add, remove, or manage dropdown options |
Style | SplitButtonVisualStyle | Visual appearance style | Apply Office2016White/Black/DarkGray/Colorful, Metro, or Default |
ThemeName | string | Theme name for styling | Apply Office2019 or custom themes |
Renderer | ISplitButtonRenderer | Custom button renderer | Implement custom drawing for button appearance |
DropDownRenderer | ToolStripRenderer | Custom dropdown renderer | Customize dropdown items appearance |
Important Events:
| Event | Description | When to Use |
|---|---|---|
Click | Fired when button portion is clicked | Handle primary button action |
DropDownItemClicked | Fired when dropdown item is selected | Update caption or perform item-specific action |
Implement a split button like Microsoft Word's Save button:
Create a toggle button for view modes with layout variations:
Build split buttons matching Office 2016/2019 theme:
Create fully customized split button with company branding:
Choose SplitButton when:
Consider alternatives when:
Platform Note: This skill covers Syncfusion Essential Studio for Windows Forms. For other platforms:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
113 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.npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winforms