Overview

Namespace: TheTechIdea.Beep.Winform.Controls.Design.Server.Designers
Inheritance: BaseBeepControlDesigner

BeepComboBoxDesigner provides the design-time experience for BeepComboBox. The smart-tag exposes 13 properties across Appearance and Behavior categories, plus 5 one-click configuration presets that reconfigure the combo box for common use cases (searchable picker, chip multi-select, command menu, simple dropdown, minimal picker). Inherits CommonBeepControlActionList for style/theme/schema.

BeepComboBoxDesigner

MemberSignatureDescription
ComboBoxBeepComboBox? (get)Casts Component to BeepComboBox for convenient access
GetControlSpecificActionLists()override DesignerActionListCollectionReturns BeepComboBoxActionList singleton

BeepComboBoxActionList — Smart-Tag Properties

PropertyTypeCategoryDescription
IsEditableboolBehaviorAllow free-text entry in the combo field
MultiSelectboolBehaviorAllow multiple item selection (chip display). Proxies AllowMultipleSelection.
ComboBoxTypeComboBoxTypeAppearanceVisual variant: OutlineDefault, OutlineSearchable, MultiChipSearch, CommandMenu, MinimalBorderless
PlaceholderTextstringAppearancePlaceholder shown when no value is selected
SizeVariantBeepComboBoxSizeAppearanceControl size: Small, Medium, Large
ShowClearButtonboolAppearanceShow an X button to clear the current value
ShowSearchInDropdownboolBehaviorShow a search textbox inside the dropdown panel
AutoCompleteboolBehaviorEnable auto-complete suggestions while typing
AutoCompleteModeBeepAutoCompleteModeBehaviorSuggest, Append, or SuggestAppend
AutoCompleteMinLengthintBehaviorMinimum characters before auto-complete triggers
MaxSuggestionsintBehaviorMaximum number of auto-complete suggestions shown
AllowFreeTextboolBehaviorAccept text not in the dropdown list
IsLoadingboolBehaviorShow a loading spinner indicator

Configuration Presets (Action Methods)

PresetCombo TypeSearchAuto CompleteMulti SelectUse Case
ConfigureAsSearchablePicker()OutlineSearchableOnOnOffSingle-value search with suggestions
ConfigureAsChipMultiSelect()MultiChipSearchOnOffOnMultiple values shown as chips
ConfigureAsCommandMenu()CommandMenuFuzzyOffOffCommand palette with fuzzy search
ConfigureAsSimpleDropdown()OutlineDefaultOffOffOffBasic single-select dropdown
ConfigureAsMinimalPicker()MinimalBorderlessOffOffOffMinimal inline picker, small size

Smart-Tag Sections

GetSortedActionItems() organizes items into 3 sections:

SectionItemsDescription
Presets5 action methodsQuick configuration presets listed above
AppearanceComboBoxType, PlaceholderText, SizeVariant, ShowClearButtonVisual appearance settings
BehaviorIsEditable, MultiSelect, ShowSearchInDropdown, AutoComplete, AutoCompleteMode, AutoCompleteMinLength, MaxSuggestions, AllowFreeText, IsLoadingInteraction and functionality settings

Examples

// At design time, use smart-tag presets:
// Smart-tag > Presets > "Configure as Searchable Picker"
// -> ComboBoxType=OutlineSearchable, ShowSearchInDropdown=true, AutoComplete=true

// At runtime, equivalent API:
var combo = new BeepComboBox();
combo.ComboBoxType = ComboBoxType.OutlineSearchable;
combo.ShowSearchInDropdown = true;
combo.AutoComplete = true;
combo.AutoCompleteMode = BeepAutoCompleteMode.Suggest;
combo.AutoCompleteMinLength = 2;
combo.MaxSuggestions = 10;
combo.PlaceholderText = "Type to search...";
combo.ShowClearButton = true;