New to Telerik UI for WinFormsStart a free 30-day trial

Represents a multi-column combo box control that provides a dropdown grid interface for data selection. This control combines the functionality of a text box with a grid-based dropdown for enhanced data browsing and selection.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
[TelerikToolboxCategory("Data Controls")]
[LookupBindingProperties("DataSource", "DisplayMember", "ValueMember", "SelectedValue")]
[DefaultBindingProperty("Text")]
public class RadMultiColumnComboBox : RadEditorControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadEditorControlRadMultiColumnComboBox...

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetILayoutHandlerINotifyPropertyChangedISupportInitializeISupportInitializeNotificationISynchronizeInvokeIWin32Window...

Inherited Members RadEditorControl.GetPreferredSize(Size)RadEditorControl.GetRootElementDesiredSize(int, int, int, int)RadEditorControl.SetBoundsCore(int, int, int, int, BoundsSpecified)RadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.Construct()RadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.InitializeRootElement(RootRadElement)RadControl.LoadElementTree()RadControl.LoadElementTree(Size)RadControl.OnKeyDown(KeyEventArgs)RadControl.OnKeyUp(KeyEventArgs)RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)RadControl.OnKeyPress(KeyPressEventArgs)RadControl.OnClick(EventArgs)RadControl.OnDoubleClick(EventArgs)RadControl.OnMouseDown(MouseEventArgs)RadControl.OnMouseUp(MouseEventArgs)RadControl.OnMouseEnter(EventArgs)RadControl.OnMouseLeave(EventArgs)RadControl.OnMouseMove(MouseEventArgs)RadControl.OnMouseHover(EventArgs)RadControl.OnMouseWheel(MouseEventArgs)RadControl.OnMouseCaptureChanged(EventArgs)RadControl.OnCreateControl()RadControl.OnHandleDestroyed(EventArgs)RadControl.OnFontChanged(EventArgs)RadControl.OnForeColorChanged(EventArgs)RadControl.OnBackColorChanged(EventArgs)RadControl.OnEnabledChanged(EventArgs)RadControl.OnLocationChanged(EventArgs)RadControl.OnPaddingChanged(EventArgs)RadControl.OnRightToLeftChanged(EventArgs)RadControl.OnPaint(PaintEventArgs)RadControl.OnLayout(LayoutEventArgs)RadControl.OnAutoSizeChanged(EventArgs)RadControl.WndProc(ref Message)RadControl.OnInvalidated(RadElement)RadControl.OnLoad(Size)RadControl.OnCaptureLosing()RadControl.OnThemeChanged()RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)RadControl.ProcessMnemonic(char)RadControl.ProcessFocusRequested(RadElement)RadControl.ProcessCaptureChangeRequested(RadElement, bool)RadControl.GetInputElement()RadControl.BeginInit()RadControl.OnNotifyPropertyChanged(string)RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadControl.OnZoomGesture(ZoomGestureEventArgs)RadControl.OnRotateGesture(RotateGestureEventArgs)RadControl.OnPanGesture(PanGestureEventArgs)RadControl.OnTwoFingerTapGesture(GestureEventArgs)RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadControl.OnGesture(GestureEventArgs)RadControl.ProcessGesture(Message)RadControl.EnableGesture(GestureType)RadControl.DisableGesture(GestureType)RadControl.Refresh()RadControl.SuspendUpdate()RadControl.ResumeUpdate()RadControl.ResumeUpdate(bool)RadControl.InvokeLayoutCallback(LayoutCallback)RadControl.RegisterHostedControl(RadHostItem)RadControl.UnregisterHostedControl(RadHostItem, bool)RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)RadControl.GetPlainText()RadControl.ShouldSerializeProperty(RadProperty)RadControl.ShouldSerializeProperty(RadProperty, RadObject)RadControl.ResetProperty(RadProperty, RadObject)RadControl.CanEditElementAtDesignTime(RadElement)RadControl.ProcessCodedUIMessage(ref IPCMessage)RadControl.FindPropertyInChildren(RadControl, IPCMessage)RadControl.ScaleControl(SizeF, BoundsSpecified)RadControl.PerformRadAutoScale(BoundsSpecified?)RadControl.GetMonitorDpiScaleFactor(Control)RadControl.SetRadAutoScale(bool)RadControl.EnableDpiScalingRadControl.EnableRadAutoScaleRadControl.EnableRadFormInitialDpiScalingRadControl.EnableImageDpiScalingRadControl.EnableSvgImagesRadControl.IsLoadedRadControl.ElementTreeRadControl.UseCompatibleTextRenderingDefaultValueRadControl.BehaviorRadControl.RootElementRadControl.PaddingRadControl.ThemeNameRadControl.EnableThemingRadControl.ThemeClassNameRadControl.ImageListRadControl.ImageScalingSizeRadControl.UseCompatibleTextRenderingRadControl.MaximumSizeRadControl.MinimumSizeRadControl.FocusableRadControl.SiteRadControl.CausesValidationRadControl.IsInitializingRadControl.SmallImageListRadControl.SmallImageScalingSizeRadControl.IsDesignModeRadControl.IsDisplayedRadControl.FocusedElementRadControl.AllowShowFocusCuesRadControl.CommandBindingsRadControl.EnableKeyMapRadControl.BackColorRadControl.ForeColorRadControl.FontRadControl.ValidationCancelRadControl.EnableAnalyticsRadControl.AnalyticsNameRadControl.EnableRadAccessibilityObjectsRadControl.EnableCodedUITestsRadControl.EnableCodedUITestsDefaultValueRadControl.EnableUIAutomationRadControl.EnableUIAutomationDefaultValueRadControl.ElementInvalidatedRadControl.ToolTipTextNeededRadControl.ScreenTipNeededRadControl.ThemeNameChangedRadControl.InitializedRadControl.PropertyChangedRadControl.ZoomGestureRadControl.RotateGestureRadControl.PanGestureRadControl.TwoFingerTapGestureRadControl.PressAndTapGestureScrollableControl.ScrollStateAutoScrollingScrollableControl.ScrollStateHScrollVisibleScrollableControl.ScrollStateVScrollVisibleScrollableControl.ScrollStateUserHasScrolledScrollableControl.ScrollStateFullDragScrollableControl.AdjustFormScrollbars(bool)ScrollableControl.GetScrollState(int)ScrollableControl.OnPaintBackground(PaintEventArgs)ScrollableControl.SetDisplayRectLocation(int, int)ScrollableControl.ScrollControlIntoView(Control)ScrollableControl.ScrollToControl(Control)ScrollableControl.OnScroll(ScrollEventArgs)ScrollableControl.SetAutoScrollMargin(int, int)ScrollableControl.SetScrollState(int, bool)ScrollableControl.AutoScrollScrollableControl.AutoScrollMarginScrollableControl.AutoScrollPositionScrollableControl.AutoScrollMinSizeScrollableControl.CreateParamsScrollableControl.DisplayRectangleScrollableControl.HScrollScrollableControl.HorizontalScrollScrollableControl.VScrollScrollableControl.VerticalScrollScrollableControl.ScrollControl.GetAccessibilityObjectById(int)Control.SetAutoSizeMode(AutoSizeMode)Control.GetAutoSizeMode()Control.AccessibilityNotifyClients(AccessibleEvents, int)Control.AccessibilityNotifyClients(AccessibleEvents, int, int)Control.BeginInvoke(Delegate)Control.BeginInvoke(Delegate, params object[])Control.BringToFront()Control.Contains(Control)Control.CreateAccessibilityInstance()Control.CreateControlsInstance()Control.CreateGraphics()Control.CreateHandle()Control.CreateControl()Control.DefWndProc(ref Message)Control.DestroyHandle()Control.DoDragDrop(object, DragDropEffects)Control.DrawToBitmap(Bitmap, Rectangle)Control.EndInvoke(IAsyncResult)Control.FindForm()Control.GetTopLevel()Control.RaiseKeyEvent(object, KeyEventArgs)Control.RaiseMouseEvent(object, MouseEventArgs)Control.Focus()Control.FromChildHandle(IntPtr)Control.FromHandle(IntPtr)Control.GetChildAtPoint(Point, GetChildAtPointSkip)Control.GetChildAtPoint(Point)Control.GetContainerControl()Control.GetScaledBounds(Rectangle, SizeF, BoundsSpecified)Control.GetNextControl(Control, bool)Control.GetStyle(ControlStyles)Control.Hide()Control.InitLayout()Control.Invalidate(Region)Control.Invalidate(Region, bool)Control.Invalidate()Control.Invalidate(bool)Control.Invalidate(Rectangle)Control.Invalidate(Rectangle, bool)Control.Invoke(Delegate)Control.Invoke(Delegate, params object[])Control.InvokePaint(Control, PaintEventArgs)Control.InvokePaintBackground(Control, PaintEventArgs)Control.IsKeyLocked(Keys)Control.IsInputChar(char)Control.IsMnemonic(char, string)Control.LogicalToDeviceUnits(int)Control.LogicalToDeviceUnits(Size)Control.ScaleBitmapLogicalToDevice(ref Bitmap)Control.NotifyInvalidate(Rectangle)Control.InvokeOnClick(Control, EventArgs)Control.OnBackgroundImageChanged(EventArgs)Control.OnBackgroundImageLayoutChanged(EventArgs)Control.OnCausesValidationChanged(EventArgs)Control.OnContextMenuChanged(EventArgs)Control.OnContextMenuStripChanged(EventArgs)Control.OnCursorChanged(EventArgs)Control.OnDockChanged(EventArgs)Control.OnNotifyMessage(Message)Control.OnParentBackColorChanged(EventArgs)Control.OnParentBackgroundImageChanged(EventArgs)Control.OnParentBindingContextChanged(EventArgs)Control.OnParentCursorChanged(EventArgs)Control.OnParentEnabledChanged(EventArgs)Control.OnParentFontChanged(EventArgs)Control.OnParentForeColorChanged(EventArgs)Control.OnParentRightToLeftChanged(EventArgs)Control.OnPrint(PaintEventArgs)Control.OnTabIndexChanged(EventArgs)Control.OnTabStopChanged(EventArgs)Control.OnTextChanged(EventArgs)Control.OnClientSizeChanged(EventArgs)Control.OnControlAdded(ControlEventArgs)Control.OnControlRemoved(ControlEventArgs)Control.OnHandleCreated(EventArgs)Control.OnDragEnter(DragEventArgs)Control.OnDragOver(DragEventArgs)Control.OnDragLeave(EventArgs)Control.OnDragDrop(DragEventArgs)Control.OnGiveFeedback(GiveFeedbackEventArgs)Control.InvokeGotFocus(Control, EventArgs)Control.OnHelpRequested(HelpEventArgs)Control.OnInvalidated(InvalidateEventArgs)Control.InvokeLostFocus(Control, EventArgs)Control.OnMarginChanged(EventArgs)Control.OnMouseDoubleClick(MouseEventArgs)Control.OnMouseClick(MouseEventArgs)Control.OnDpiChangedBeforeParent(EventArgs)Control.OnDpiChangedAfterParent(EventArgs)Control.OnMove(EventArgs)Control.OnQueryContinueDrag(QueryContinueDragEventArgs)Control.OnRegionChanged(EventArgs)Control.OnResize(EventArgs)Control.OnSizeChanged(EventArgs)Control.OnChangeUICues(UICuesEventArgs)Control.OnStyleChanged(EventArgs)Control.OnSystemColorsChanged(EventArgs)Control.OnValidating(CancelEventArgs)Control.OnValidated(EventArgs)Control.RescaleConstantsForDpi(int, int)Control.PerformLayout()Control.PerformLayout(Control, string)Control.PointToClient(Point)Control.PointToScreen(Point)Control.PreProcessMessage(ref Message)Control.PreProcessControlMessage(ref Message)Control.ProcessDialogChar(char)Control.ProcessDialogKey(Keys)Control.ProcessKeyEventArgs(ref Message)Control.ProcessKeyMessage(ref Message)Control.ProcessKeyPreview(ref Message)Control.RaiseDragEvent(object, DragEventArgs)Control.RaisePaintEvent(object, PaintEventArgs)Control.RecreateHandle()Control.RectangleToClient(Rectangle)Control.RectangleToScreen(Rectangle)Control.ReflectMessage(IntPtr, ref Message)Control.ResetMouseEventArgs()Control.ResetText()Control.ResumeLayout()Control.ResumeLayout(bool)Control.Scale(SizeF)Control.Select()Control.Select(bool, bool)Control.SelectNextControl(Control, bool, bool, bool, bool)Control.SendToBack()Control.SetBounds(int, int, int, int)Control.SetBounds(int, int, int, int, BoundsSpecified)Control.SetClientSizeCore(int, int)Control.SizeFromClientSize(Size)Control.SetStyle(ControlStyles, bool)Control.SetTopLevel(bool)Control.SetVisibleCore(bool)Control.RtlTranslateAlignment(HorizontalAlignment)Control.RtlTranslateAlignment(LeftRightAlignment)Control.RtlTranslateAlignment(ContentAlignment)Control.RtlTranslateHorizontal(HorizontalAlignment)Control.RtlTranslateLeftRight(LeftRightAlignment)Control.RtlTranslateContent(ContentAlignment)Control.Show()Control.SuspendLayout()Control.Update()Control.UpdateBounds()Control.UpdateBounds(int, int, int, int)Control.UpdateBounds(int, int, int, int, int, int)Control.UpdateZOrder()Control.UpdateStyles()Control.OnImeModeChanged(EventArgs)Control.AccessibilityObjectControl.AccessibleDefaultActionDescriptionControl.AccessibleDescriptionControl.AccessibleNameControl.AccessibleRoleControl.AllowDropControl.AnchorControl.AutoScrollOffsetControl.LayoutEngineControl.BackgroundImageControl.BackgroundImageLayoutControl.BindingContextControl.BottomControl.BoundsControl.CanFocusControl.CanRaiseEventsControl.CanSelectControl.CaptureControl.CheckForIllegalCrossThreadCallsControl.ClientRectangleControl.ClientSizeControl.CompanyNameControl.ContainsFocusControl.ContextMenuControl.ContextMenuStripControl.ControlsControl.CreatedControl.CursorControl.DataBindingsControl.DefaultBackColorControl.DefaultCursorControl.DefaultFontControl.DefaultForeColorControl.DefaultMarginControl.DefaultMaximumSizeControl.DefaultMinimumSizeControl.DefaultPaddingControl.DeviceDpiControl.IsDisposedControl.DisposingControl.DockControl.DoubleBufferedControl.EnabledControl.FocusedControl.FontHeightControl.HandleControl.HasChildrenControl.HeightControl.IsHandleCreatedControl.InvokeRequiredControl.IsAccessibleControl.IsMirroredControl.LeftControl.LocationControl.MarginControl.ModifierKeysControl.MouseButtonsControl.MousePositionControl.NameControl.ParentControl.ProductNameControl.ProductVersionControl.RecreatingHandleControl.RegionControl.RenderRightToLeftControl.ResizeRedrawControl.RightControl.RightToLeftControl.ScaleChildrenControl.SizeControl.TabIndexControl.TabStopControl.TagControl.TopControl.TopLevelControlControl.ShowKeyboardCuesControl.ShowFocusCuesControl.UseWaitCursorControl.VisibleControl.WidthControl.PreferredSizeControl.CanEnableImeControl.DefaultImeModeControl.ImeModeControl.ImeModeBaseControl.PropagatingImeModeControl.BackColorChangedControl.BackgroundImageChangedControl.BackgroundImageLayoutChangedControl.BindingContextChangedControl.CausesValidationChangedControl.ClientSizeChangedControl.ContextMenuChangedControl.ContextMenuStripChangedControl.CursorChangedControl.DockChangedControl.EnabledChangedControl.FontChangedControl.ForeColorChangedControl.LocationChangedControl.MarginChangedControl.RegionChangedControl.RightToLeftChangedControl.SizeChangedControl.TabIndexChangedControl.TabStopChangedControl.TextChangedControl.VisibleChangedControl.ClickControl.ControlAddedControl.ControlRemovedControl.DragDropControl.DragEnterControl.DragOverControl.DragLeaveControl.GiveFeedbackControl.HandleCreatedControl.HandleDestroyedControl.HelpRequestedControl.InvalidatedControl.PaddingChangedControl.PaintControl.QueryContinueDragControl.QueryAccessibilityHelpControl.DoubleClickControl.EnterControl.GotFocusControl.KeyDownControl.KeyPressControl.KeyUpControl.LayoutControl.LeaveControl.LostFocusControl.MouseClickControl.MouseDoubleClickControl.MouseCaptureChangedControl.MouseDownControl.MouseEnterControl.MouseLeaveControl.DpiChangedBeforeParentControl.DpiChangedAfterParentControl.MouseHoverControl.MouseMoveControl.MouseUpControl.MouseWheelControl.MoveControl.PreviewKeyDownControl.ResizeControl.ChangeUICuesControl.StyleChangedControl.SystemColorsChangedControl.ValidatingControl.ValidatedControl.ParentChangedControl.ImeModeChangedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.EventsComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)...

Constructors

Initializes a new instance of the RadMultiColumnComboBox class with default settings. Sets up basic control properties including auto-sizing, tab behavior, and selection capabilities.

C#
public RadMultiColumnComboBox()

Properties

Gets or sets the automatic completion mode for the text entry portion of the combo box. This property is not applicable for RadMultiColumnComboBox and should not be used.

C#
[Browsable(false)]
public AutoCompleteMode AutoCompleteMode { get; set; }

Gets or sets a value indicating whether automatic filtering is enabled based on user input. When enabled, the dropdown list is filtered as the user types in the text box.

C#
public bool AutoFilter { get; set; }

Gets or sets the delay in milliseconds between the last key press and the start of the filtering operation. This property helps optimize performance by preventing excessive filtering during rapid typing.

C#
public int AutoFilterDelay { get; set; }

Gets or sets a value indicating whether the control is automatically resized to display its entire contents. This property controls the auto-sizing behavior of the entire combo box control.

C#
[Browsable(true)]
public override bool AutoSize { get; set; }

Overrides: RadControl.AutoSize

Gets or sets the mode for automatically sizing columns in the dropdown portion of the control. Determines whether columns are sized based on visible cells, all cells, or other criteria.

C#
public virtual BestFitColumnMode AutoSizeDropDownColumnMode { get; set; }

Gets or sets a value indicating whether the dropdown height automatically adjusts when filtering is applied. When enabled, the dropdown shrinks or expands based on the number of filtered results.

C#
public bool AutoSizeDropDownHeight { get; set; }

Gets or sets a value indicating whether the dropdown automatically resizes to best fit all columns. The DropDownWidth property must be set to its default value (-1) for this setting to work properly.

C#
public bool AutoSizeDropDownToBestFit { get; set; }

Gets or sets a value indicating whether the text is automatically cleared when it does not match any value in the DisplayMember column. When enabled, invalid text entries are automatically removed during validation.

C#
[Browsable(true)]
public bool ClearTextOnValidation { get; set; }

Gets the collection of columns displayed in the dropdown grid. Use this collection to define, configure, and manage the columns that appear in the dropdown interface.

C#
public GridViewColumnCollection Columns { get; }

Gets or sets the data source for the combo box. The data source provides the items that are displayed in the dropdown grid.

C#
public object DataSource { get; set; }

Gets or sets a value indicating whether double-clicking in the text edit area rotates through available items. When enabled, double-clicking cycles through the selectable values in the dropdown.

C#
[Browsable(true)]
public bool DblClickRotate { get; set; }

Gets the default size of the control when no explicit size is specified. The default size provides a reasonable starting point for the control's dimensions.

C#
protected override Size DefaultSize { get; }

Overrides: Control.DefaultSize

Gets or sets the name of the data source member used to supply the display text for items in the combo box. This property determines which field from the data source is shown to the user.

C#
[TypeConverter("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public string DisplayMember { get; set; }

Gets or sets the maximum size allowed for the dropdown portion of the combo box. This prevents the dropdown from becoming too large and overwhelming the interface.

C#
public Size DropDownMaxSize { get; set; }

Gets or sets the minimum size allowed for the dropdown portion of the combo box. This prevents the dropdown from becoming too small to be usable.

C#
public Size DropDownMinSize { get; set; }

Gets or sets the sizing mode for the dropdown portion of the control. The mode can be horizontal, vertical, or a combination that determines how the dropdown is resized.

C#
[Browsable(true)]
public SizingMode DropDownSizingMode { get; set; }

Gets or sets the dropdown style of the combo box, which determines the appearance and editing behavior. This controls whether the text portion is editable and how the dropdown is presented.

C#
[Browsable(true)]
public RadDropDownStyle DropDownStyle { get; set; }

Gets the RadGridView control hosted in the popup form that provides the multi-column interface. This grid displays the data and handles user selection within the dropdown.

C#
public virtual RadGridView EditorControl { get; }

Gets the hosted RadMultiColumnComboBoxElement that provides the core functionality of the combo box. This element contains all the logic for dropdown management, data binding, and user interaction.

C#
[Browsable(false)]
public RadMultiColumnComboBoxElement MultiColumnComboBoxElement { get; }

Gets the popup form that contains the multi-column grid interface. This form is displayed when the dropdown is opened and contains the RadGridView for data selection.

C#
protected MultiColumnComboPopupForm MultiColumnPopupForm { get; }

Gets or sets the placeholder text that is displayed when the Text property contains an empty string or is null. This provides a visual hint to users about the expected input or purpose of the control.

C#
[Browsable(true)]
[Bindable(true)]
public string NullText { get; set; }

Gets or sets a value indicating whether the control is in read-only mode. When read-only, users can view and select items but cannot edit the text portion.

C#
[Browsable(true)]
public bool ReadOnly { get; set; }

Gets or sets a value indicating whether the user can scroll through items using the mouse wheel when the popup is closed. This enables convenient item navigation without opening the dropdown.

C#
public bool ScrollOnMouseWheel { get; set; }

Gets or sets the index of the currently selected item in the combo box. A value of -1 indicates that no item is selected.

C#
[Browsable(false)]
public int SelectedIndex { get; set; }

Gets or sets the currently selected item in the combo box. This represents the entire data object corresponding to the selected row.

C#
[Browsable(false)]
[Bindable(true)]
public object SelectedItem { get; set; }

Gets or sets the value of the currently selected item as determined by the ValueMember property. This property provides the underlying value associated with the selected item.

C#
[Browsable(false)]
[Bindable(true)]
public object SelectedValue { get; set; }

Gets or sets a value indicating whether ToolTips are shown for the RadItem objects contained in the control. When enabled, tooltips are displayed for both the control and its dropdown grid items.

C#
public override bool ShowItemToolTips { get; set; }

Overrides: RadControl.ShowItemToolTips

Gets or sets the text displayed in the text box portion of the combo box. This text represents the current selection or user input and can be bound to data sources.

C#
public override string Text { get; set; }

Overrides: RadControl.Text

Gets or sets the name of the data source member used to supply the value for items in the combo box. This property determines which field from the data source provides the actual value for each item.

C#
[TypeConverter("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public string ValueMember { get; set; }

Methods

Automatically adjusts the width of all columns based on the content of visible rows. This method resizes columns to optimally display their content without horizontal scrolling.

C#
public void BestFitColumns()

Automatically adjusts the width of all columns with options for dropdown sizing and row analysis. This overload provides more control over the best-fit operation.

C#
public void BestFitColumns(bool adjustComboBoxSize, bool bestFitAllRows)
Parameters:adjustComboBoxSizebool

true to adjust the dropdown size according to the total width of all columns; otherwise, false.

bestFitAllRowsbool

true to calculate optimal width by analyzing all rows including non-visible ones; false to analyze only visible rows.

Determines whether the control defines a theme for the specified element. This method prevents theme duplication by indicating which elements have control-defined themes.

C#
public override bool ControlDefinesThemeForElement(RadElement element)
Parameters:elementRadElement

The element to check for theme definition.

Returns:

bool

true if the control defines a theme for this element; false otherwise.

Overrides: RadControl.ControlDefinesThemeForElement(RadElement)

Creates the child element hierarchy for the combo box control. This method establishes the main combo box element and wires up all necessary event handlers.

C#
protected override void CreateChildItems(RadElement parent)
Parameters:parentRadElement

The parent element to which child elements will be added.

Overrides: RadControl.CreateChildItems(RadElement)

Creates and returns a new instance of the RadMultiColumnComboBoxElement that serves as the main element for this control. This method can be overridden to provide custom element implementations.

C#
protected virtual RadMultiColumnComboBoxElement CreateMultiColumnComboBoxElement()
Returns:

RadMultiColumnComboBoxElement

A new RadMultiColumnComboBoxElement instance.

Releases the unmanaged resources used by the RadMultiColumnComboBox and optionally releases the managed resources.

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides: RadControl.Dispose(bool)

Completes the initialization of the combo box control that is used on a form or by another component. The initialization occurs at run time and finalizes the setup of the control.

C#
public override void EndInit()

Overrides: RadControl.EndInit()

Determines whether the specified key is an input key that should be processed by the control. This method handles special keys like Up and Down arrows for dropdown-style controls.

C#
protected override bool IsInputKey(Keys keyData)
Parameters:keyDataKeys

One of the Keys values to evaluate.

Returns:

bool

true if the specified key is an input key; otherwise, false.

Overrides: RadControl.IsInputKey(Keys)

Raises the BindingContextChanged event and synchronizes the binding context with the editor control. This method ensures that data binding contexts are properly propagated to the dropdown grid.

C#
protected override void OnBindingContextChanged(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Overrides: RadControl.OnBindingContextChanged(EventArgs)

Raises the CaseSensitiveChanged event. This method is called when the case sensitivity setting changes.

C#
protected virtual void OnCaseSensitiveChanged(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Raises the DataBindingComplete event when the underlying grid completes its data binding process. This method is called after the grid has been populated with data from the data source.

C#
protected virtual void OnDataBindingComplete(GridViewBindingCompleteEventArgs e)
Parameters:eGridViewBindingCompleteEventArgs

A GridViewBindingCompleteEventArgs that contains information about the data binding operation.

Raises the DropDownClosed event. This method is called after the dropdown window has closed.

C#
protected virtual void OnDropDownClosed(RadPopupClosedEventArgs e)
Parameters:eRadPopupClosedEventArgs

A RadPopupClosedEventArgs that contains information about how the popup was closed.

Raises the DropDownClosing event. This method is called when the dropdown window is about to close and allows cancellation.

C#
protected virtual void OnDropDownClosing(RadPopupClosingEventArgs e)
Parameters:eRadPopupClosingEventArgs

A RadPopupClosingEventArgs that contains information about the closing operation and allows cancellation.

Raises the DropDownOpened event. This method is called after the dropdown window has opened.

C#
protected virtual void OnDropDownOpened(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Raises the DropDownOpening event. This method is called when the dropdown window is about to open and allows cancellation.

C#
protected virtual void OnDropDownOpening(CancelEventArgs e)
Parameters:eCancelEventArgs

A CancelEventArgs that contains information about the opening operation and allows cancellation.

Raises the DropDownStyleChanged event. This method is called when the dropdown style changes.

C#
protected virtual void OnDropDownStyleChanged(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Raises the Enter event and transfers focus to the text box element. This method ensures proper focus handling when the control receives focus.

C#
protected override void OnEnter(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Overrides: Control.OnEnter(EventArgs)

Raises the GotFocus event and selects all text in the text box. This method provides convenient text selection when the control gains focus.

C#
protected override void OnGotFocus(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Overrides: RadControl.OnGotFocus(EventArgs)

Raises the Leave event and closes the popup if it is open. This method handles cleanup when the control loses focus.

C#
protected override void OnLeave(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Overrides: Control.OnLeave(EventArgs)

Raises the LostFocus event and handles selection state when focus is lost. This method processes the current selection and clears text selection if appropriate.

C#
protected override void OnLostFocus(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Overrides: RadControl.OnLostFocus(EventArgs)

Raises the ParentChanged event and closes the popup when the parent changes. This method ensures proper cleanup when the control is moved to a different parent.

C#
protected override void OnParentChanged(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Overrides: RadEditorControl.OnParentChanged(EventArgs)

Raises the ParentVisibleChanged event and closes the popup when the parent's visibility changes. This method handles popup closure when the parent container becomes invisible.

C#
protected override void OnParentVisibleChanged(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Overrides: Control.OnParentVisibleChanged(EventArgs)

Raises the SelectedIndexChanged event. This method is called when the selected index changes.

C#
protected virtual void OnSelectedIndexChanged(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Raises the SelectedValueChanged event. This method is called when the selected value changes.

C#
protected virtual void OnSelectedValueChanged(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Raises the SortedChanged event. This method is called when the sorting configuration changes.

C#
protected virtual void OnSortedChanged(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Raises the VisibleChanged event and closes the popup if the control becomes invisible. This method ensures the popup is closed when the control is hidden.

C#
protected override void OnVisibleChanged(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Overrides: RadControl.OnVisibleChanged(EventArgs)

Processes auto-size mode changes and adjusts the element's stretch behavior accordingly. When auto-sizing is enabled, the control stretches horizontally but not vertically.

C#
protected override void ProcessAutoSizeChanged(bool value)
Parameters:valuebool

true if auto-sizing is enabled; otherwise, false.

Overrides: RadControl.ProcessAutoSizeChanged(bool)

Processes command keys and handles special key combinations. This method intercepts Tab key presses to properly set the current row in the dropdown grid.

C#
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
Parameters:msgMessage

A Message passed by reference that represents the window message to process.

keyDataKeys

One of the Keys values that represents the key to process.

Returns:

bool

true if the character was processed by the control; otherwise, false.

Overrides: Control.ProcessCmdKey(ref Message, Keys)

Resets theme value overrides for the BackColor property and reapplies the default theme. This method clears custom background color overrides and restores theme-based coloring.

C#
protected override void ResetBackColorThemeOverrides()

Overrides: RadControl.ResetBackColorThemeOverrides()

Resets theme value overrides for the ForeColor property and reapplies the default theme. This method clears custom foreground color overrides and restores theme-based coloring.

C#
protected override void ResetForeColorThemeOverrides()

Overrides: RadControl.ResetForeColorThemeOverrides()

Sets theme value overrides for the BackColor property across all visual states. This method ensures consistent background color theming for the combo box and its text element.

C#
protected override void SetBackColorThemeOverrides()

Overrides: RadControl.SetBackColorThemeOverrides()

Sets the binding context of the editor control to match the combo box's binding context. This ensures consistent data binding behavior between the control and its dropdown grid.

C#
protected virtual void SetEditorControlBindingContext()

Sets theme value overrides for the ForeColor property across all visual states. This method ensures consistent foreground color theming for the combo box element.

C#
protected override void SetForeColorThemeOverrides()

Overrides: RadControl.SetForeColorThemeOverrides()

Unwires the data binding event handler from the editor control if it is available. This is called during cleanup to ensure proper event handler removal.

C#
protected virtual void UnwireEditorControlDataBindingEvent()

Unwires all event handlers that were previously attached to the combo box element. This method is called during disposal to prevent memory leaks.

C#
protected virtual void UnwireEvents()

Wires the data binding event handler for the editor control if it is available. This enables handling of data binding completion events from the underlying grid.

C#
protected virtual void WireEditorControlDataBindingEvent()

Wires all necessary event handlers between the combo box element and the control. This includes handlers for text changes, selection changes, popup events, and keyboard input.

C#
protected virtual void WireEvents()

Events

Occurs when the CaseSensitive property value changes. This event is raised when the case sensitivity property value changes.

C#
[Browsable(true)]
public event EventHandler CaseSensitiveChanged

Occurs when the data binding process for the underlying grid control finishes. This event is useful for performing actions after the grid has been populated with data.

C#
public event GridViewBindingCompleteEventHandler DataBindingComplete

Occurs after the dropdown window has closed and is no longer visible. This event provides information about how and why the dropdown was closed.

C#
[Browsable(true)]
public event RadPopupClosedEventHandler DropDownClosed

Occurs when the dropdown window is about to close. This event can be used to cancel the closing operation or perform cleanup actions.

C#
[Browsable(true)]
public event RadPopupClosingEventHandler DropDownClosing

Occurs after the dropdown window has opened and is visible to the user. This event is useful for performing actions once the dropdown interface is available.

C#
[Browsable(true)]
public event EventHandler DropDownOpened

Occurs when the dropdown window is about to open. This event can be used to cancel the opening operation or prepare the dropdown content.

C#
[Browsable(true)]
public event RadPopupOpeningEventHandler DropDownOpening

Occurs when the DropDownStyle property value changes. This event is raised when the dropdown style is modified.

C#
[Browsable(true)]
public event EventHandler DropDownStyleChanged

Occurs when the ReadOnly property value changes. This event is raised when the read-only state of the control is modified.

C#
public event EventHandler ReadOnlyChanged

Occurs when the SelectedIndex property value changes. This event is raised whenever a different item is selected in the combo box.

C#
[Browsable(true)]
public event EventHandler SelectedIndexChanged

Occurs when the SelectedValue property value changes. This event is raised whenever the value of the selected item changes.

C#
[Browsable(true)]
public event EventHandler SelectedValueChanged

Occurs when the sorting configuration of the dropdown grid changes. This event is raised when columns are sorted or unsorted.

C#
[Browsable(true)]
public event EventHandler SortedChanged
In this article
DefinitionConstructorsRadMultiColumnComboBox()PropertiesAutoCompleteModeAutoFilterAutoFilterDelayAutoSizeAutoSizeDropDownColumnModeAutoSizeDropDownHeightAutoSizeDropDownToBestFitClearTextOnValidationColumnsDataSourceDblClickRotateDefaultSizeDisplayMemberDropDownMaxSizeDropDownMinSizeDropDownSizingModeDropDownStyleEditorControlMultiColumnComboBoxElementMultiColumnPopupFormNullTextReadOnlyScrollOnMouseWheelSelectedIndexSelectedItemSelectedValueShowItemToolTipsTextValueMemberMethodsBestFitColumns()BestFitColumns(bool, bool)ControlDefinesThemeForElement(RadElement)CreateChildItems(RadElement)CreateMultiColumnComboBoxElement()Dispose(bool)EndInit()IsInputKey(Keys)OnBindingContextChanged(EventArgs)OnCaseSensitiveChanged(EventArgs)OnDataBindingComplete(GridViewBindingCompleteEventArgs)OnDropDownClosed(RadPopupClosedEventArgs)OnDropDownClosing(RadPopupClosingEventArgs)OnDropDownOpened(EventArgs)OnDropDownOpening(CancelEventArgs)OnDropDownStyleChanged(EventArgs)OnEnter(EventArgs)OnGotFocus(EventArgs)OnLeave(EventArgs)OnLostFocus(EventArgs)OnParentChanged(EventArgs)OnParentVisibleChanged(EventArgs)OnSelectedIndexChanged(EventArgs)OnSelectedValueChanged(EventArgs)OnSortedChanged(EventArgs)OnVisibleChanged(EventArgs)ProcessAutoSizeChanged(bool)ProcessCmdKey(ref Message, Keys)ResetBackColorThemeOverrides()ResetForeColorThemeOverrides()SetBackColorThemeOverrides()SetEditorControlBindingContext()SetForeColorThemeOverrides()UnwireEditorControlDataBindingEvent()UnwireEvents()WireEditorControlDataBindingEvent()WireEvents()EventsCaseSensitiveChangedDataBindingCompleteDropDownClosedDropDownClosingDropDownOpenedDropDownOpeningDropDownStyleChangedReadOnlyChangedSelectedIndexChangedSelectedValueChangedSortedChanged
Not finding the help you need?
Contact Support