/syncfusion-winforms:syncfusion-winforms-combodropdownfrom Syncfusion WinForms Controls
Guide for implementing Syncfusion ComboDropDown control in Windows Forms. Use this when you need a flexible combo box that hosts any control (TreeView, ListView, GridList, custom controls) in the dropdown area. Essential for custom dropdown UI requirements and complex dropdown content beyond standard ListBox functionality.
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 this skill when the user needs to implement the Syncfusion ComboDropDown control in a Windows Forms application. This skill is specifically designed for scenarios where you need:
Key Differentiator: Unlike ComboBoxBase (which only hosts ListBox-derived controls with built-in data binding), ComboDropDown can host ANY control but requires you to implement the interaction logic between the text box and the hosted control.
When NOT to use: If you only need a simple dropdown with ListBox, CheckedListBox, or GridListControl and want automatic selection handling, use ComboBoxBase instead.
The ComboDropDown control is a lightweight, flexible combo box that provides:
Architecture: ComboDropDown consists of two independent parts:
You're responsible for connecting these parts through event handlers.
📄 Read: references/getting-started.md
When user wants to set up ComboDropDown for the first time. Covers:
📄 Read: references/event-handling.md
When user needs to implement data interaction between the combo's text and the hosted control. Covers:
📄 Read: references/text-behavior.md
When user wants to control text input behavior in the edit portion. Covers:
📄 Read: references/appearance-customization.md
When user needs to customize the control's visual appearance and borders. Covers:
📄 Read: references/themes-and-styles.md
When user wants to apply visual themes or Office-style appearances. Covers:
// 1. Drag ComboDropDown and TreeView onto form
// 2. Add nodes to TreeView (in designer or code)
// 3. Set TreeView.HideSelection = false
// 4. Set ComboDropDown.PopupControl = treeView1
// Event handlers for interaction
private void comboDropDown1_DropDown(object sender, EventArgs e)
{
// Before dropdown shown: select TreeNode matching combo text
if (!string.IsNullOrEmpty(this.comboDropDown1.Text))
{
TreeNode matchedNode = FindNode(this.treeView1.Nodes, this.comboDropDown1.Text);
this.treeView1.SelectedNode = matchedNode;
}
}
private void treeView1_DoubleClick(object sender, EventArgs e)
{
// Transfer selected node text to combo
if (this.treeView1.SelectedNode != null)
{
this.comboDropDown1.Text = this.treeView1.SelectedNode.Text;
}
// Close the dropdown
this.comboDropDown1.PopupContainer.HidePopup(PopupCloseType.Done);
}
private TreeNode FindNode(TreeNodeCollection nodes, string text)
{
// Recursively find matching node
foreach (TreeNode child in nodes)
{
if (child.Text == text) return child;
}
foreach (TreeNode child in nodes)
{
TreeNode matched = FindNode(child.Nodes, text);
if (matched != null) return matched;
}
return null;
}
using Syncfusion.Windows.Forms.Tools;
// Create ComboDropDown
ComboDropDown comboDropDown1 = new ComboDropDown();
comboDropDown1.Location = new Point(20, 20);
comboDropDown1.Size = new Size(200, 25);
// Create and configure TreeView
TreeView treeView1 = new TreeView();
treeView1.HideSelection = false;
treeView1.Nodes.Add("Root");
treeView1.Nodes[0].Nodes.Add("Child 1");
treeView1.Nodes[0].Nodes.Add("Child 2");
// Associate TreeView with ComboDropDown
comboDropDown1.PopupControl = treeView1;
// Wire up events
comboDropDown1.DropDown += comboDropDown1_DropDown;
treeView1.DoubleClick += treeView1_DoubleClick;
// Add to form
this.Controls.Add(comboDropDown1);
// Setup
comboDropDown1.PopupControl = treeView1;
treeView1.HideSelection = false;
// Sync text → TreeView selection (before dropdown)
comboDropDown1.DropDown += (s, e) => {
var node = FindNode(treeView1.Nodes, comboDropDown1.Text);
treeView1.SelectedNode = node;
};
// Sync TreeView selection → text (on double-click)
treeView1.DoubleClick += (s, e) => {
if (treeView1.SelectedNode != null)
{
comboDropDown1.Text = treeView1.SelectedNode.Text;
comboDropDown1.PopupContainer.HidePopup(PopupCloseType.Done);
}
};
// Host a GridList control for multi-column data
GridListControl gridList = new GridListControl();
// Configure grid columns and data...
comboDropDown1.PopupControl = gridList;
// Sync selection to combo text using the grid's current cell/model
gridList.DoubleClick += (s, e) => {
var cell = gridList.CurrentCell;
if (cell != null)
{
int row = cell.RowIndex;
// Read display text from the model (adjust column index as needed)
comboDropDown1.Text = gridList.Model[row, 1].Text;
comboDropDown1.PopupContainer.HidePopup(PopupCloseType.Done);
}
};
// Make dropdown control respond to mouse immediately
comboDropDown1.PopupContainer.Popup += (s, e) => {
// Give focus to hosted control after dropdown shown
treeView1.Focus();
};
| Property | Type | Description | When to Use |
|---|---|---|---|
PopupControl | Control | The control displayed in dropdown | Set to any Windows Forms control you want to host |
| Property | Type | Description | When to Use |
|---|---|---|---|
Text | string | Text displayed in edit portion | Get/set the combo's current text value |
CharacterCasing | CharacterCasing | Upper, Lower, or Normal | Force uppercase/lowercase input |
NumberOnly | bool | Restricts input to numbers | Numeric-only scenarios |
ReadOnly | bool | Prevents editing | Display-only with selection from dropdown |
| Property | Type | Description | When to Use |
|---|---|---|---|
PopupContainer | PopupControlContainer | Container managing popup behavior | Access HidePopup() or Popup event |
SuppressDropDownEvent | bool | Prevents DropDown event from firing | Skip sync logic in specific scenarios |
| Property | Type | Description | When to Use |
|---|---|---|---|
Border3DStyle | Border3DStyle | 3D border appearance (10 styles) | Customize border look when FlatStyle is Standard |
BorderSides | Border3DSide | Which sides have borders | Custom border configurations |
FlatStyle | FlatStyle | Flat, System, or Standard | Control overall appearance mode |
FlatBorderColor | Color | Border color in Flat mode | Custom border colors |
| Property | Type | Description | When to Use |
|---|---|---|---|
Style | VisualStyle | Office2016Colorful, Metro, Office2010, etc. | Apply modern visual themes |
Office2007ColorTheme | Office2007Theme | Blue, Silver, Black schemes | Office 2007 style appearance |
IgnoreThemeBackground | bool | Use BackColor instead of theme | Override theme background |
Scenario: User needs to browse a hierarchical file/folder structure
Solution: Host TreeView showing directory tree, sync selected path to combo text
Scenario: User needs to select from categorized data with multiple display columns
Solution: Host GridListControl with category, name, and description columns
Scenario: User needs a custom date picker with visual calendar
Solution: Host MonthCalendar or custom calendar control, transfer selected date to text
Scenario: User needs to select colors from a visual color palette
Solution: Host custom panel with color swatches, transfer color name/hex to text
Choose ComboDropDown when:
Choose ComboBoxBase when:
Key Difference: ComboDropDown = maximum flexibility + manual implementation; ComboBoxBase = ListBox-only + automatic handling
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