menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorComboBox - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ColorComboBox

    Implements a dropdown list with colors associated with each list item.

    Inheritance
    System.Object
    ComboDropDown
    ComboBoxBase
    ColorComboBox
    Implements
    IThemedControl
    System.ComponentModel.ISupportInitialize
    INonClientPaintingSupport
    ISupportOffice2007Theme
    IVisualStyle
    Inherited Members
    ComboBoxBase.AttachPopupControl()
    ComboBoxBase.AutoComplete
    ComboBoxBase.AutoCompleteChanged
    ComboBoxBase.CreateAccessibilityInstance()
    ComboBoxBase.CreatePopupContainer()
    ComboBoxBase.DetachPopupControl(Boolean)
    ComboBoxBase.Dispose(Boolean)
    ComboBoxBase.DropDownCloseOnClick
    ComboBoxBase.FindItem(String, Boolean, Int32, Boolean)
    ComboBoxBase.GetIndexFromPoint(Point)
    ComboBoxBase.GetListControlList()
    ComboBoxBase.GetPopupControlItemText(Int32)
    ComboBoxBase.GetPopupControlListControl()
    ComboBoxBase.HasListInterface()
    ComboBoxBase.IsIndexFromPointAvaillable()
    ComboBoxBase.IsTextValid(String)
    ComboBoxBase.IsValidIndex(Int32)
    ComboBoxBase.ListControl
    ComboBoxBase.MoveSelelctionInPopupControl(Boolean)
    ComboBoxBase.OnAutoCompleteChanged()
    ComboBoxBase.OnBeforePopup()
    ComboBoxBase.OnDropDownCloseOnClick(MouseClickCancelEventArgs)
    ComboBoxBase.OnEndInit()
    ComboBoxBase.OnHandleCreated(EventArgs)
    ComboBoxBase.OnListMouseUp(MouseEventArgs)
    ComboBoxBase.OnListSelectedValueChangedWhileNotShowingPopup(Int32)
    ComboBoxBase.OnMouseUpOnQuickSelect()
    ComboBoxBase.OnNoChangeDetectedOnPopupClosed()
    ComboBoxBase.OnSelectedIndexChanging(SelectedIndexChangingArgs)
    ComboBoxBase.OnSelectionChangedByKey()
    ComboBoxBase.OnUpdateSelectionBeforeValidate()
    ComboBoxBase.OnValidating(CancelEventArgs)
    ComboBoxBase.PerformTextAutoComplete(KeyPressEventArgs)
    ComboBoxBase.PopupControl
    ComboBoxBase.ProcessListMouseMove(Object, MouseEventArgs)
    ComboBoxBase.ProcessPopupControlMouseMove(Object, MouseEventArgs)
    ComboBoxBase.SelectedIndexChanging
    ComboBoxBase.SetPopupText(String)
    ComboBoxBase.UpdateSelectionBeforeValidate
    ComboBoxBase.WndProc(Message)
    ComboDropDown.AllowMouseWheelSelection
    ComboDropDown.AllowQuickSelection
    ComboDropDown.ApplyScaleToControl(Single)
    ComboDropDown.AttachScrollersFrame(Control)
    ComboDropDown.autoCompleteSuccess
    ComboDropDown.BackColor
    ComboDropDown.BackgroundImage
    ComboDropDown.BackgroundImageLayout
    ComboDropDown.BeforeTouchSize
    ComboDropDown.Border3DStyle
    ComboDropDown.Border3DStyleChanged
    ComboDropDown.BorderSides
    ComboDropDown.BorderSidesChanged
    ComboDropDown.cachedBackColor
    ComboDropDown.cachedForeColor
    ComboDropDown.CaseSensitiveAutocomplete
    ComboDropDown.CharacterCasing
    ComboDropDown.ComboBoxRenderer
    ComboDropDown.CommitChanges()
    ComboDropDown.ContextMenu
    ComboDropDown.CreateDropDownButton()
    ComboDropDown.CreateParams
    ComboDropDown.CreateScrollersFrame()
    ComboDropDown.CreateTextBox()
    ComboDropDown.DefaultSize
    ComboDropDown.DefWndProc(Message)
    ComboDropDown.DetachScrollersFrame()
    ComboDropDown.DetermineHeightsBasedOnFont(Graphics, Int32)
    ComboDropDown.DrawBorderAndBackground(Graphics, Rectangle)
    ComboDropDown.DrawDropDownPortion(PaintEventArgs)
    ComboDropDown.DrawEditPortionBorderAndBackground(PaintEventArgs)
    ComboDropDown.DrawListModeEditPortion(PaintEventArgs, Color, Color, Boolean)
    ComboDropDown.DrawListPortion(PaintEventArgs)
    ComboDropDown.DrawUnThemedBackground(Graphics, Rectangle)
    ComboDropDown.DrawUnThemedBorder(Graphics, Rectangle)
    ComboDropDown.DropDown
    ComboDropDown.DropDownButton
    ComboDropDown.DropDownButtonHeight
    ComboDropDown.DropDownStyle
    ComboDropDown.DropDownStyleChanged
    ComboDropDown.DropDownWidth
    ComboDropDown.DroppedDown
    ComboDropDown.EditPortionHeight
    ComboDropDown.EnableTouchMode
    ComboDropDown.FlatBorderColor
    ComboDropDown.FlatStyle
    ComboDropDown.Focused
    ComboDropDown.Font
    ComboDropDown.ForeColor
    ComboDropDown.ForwardKeyMessageToPopupControl(Int32, IntPtr, IntPtr)
    ComboDropDown.GetComboBoxDropDownWidth()
    ComboDropDown.GetEmbeddedChildBounds()
    ComboDropDown.GetEmbeddedChildBounds(Int32)
    ComboDropDown.GetOfficeStyleComboBoxDropDownWidth()
    ComboDropDown.GetPopupText()
    ComboDropDown.GrayOnReadOnly
    ComboDropDown.HidePopup()
    ComboDropDown.IgnorePopupValueChange
    ComboDropDown.IgnoreThemeBackground
    ComboDropDown.InitDropDownButton(DropDownButton)
    ComboDropDown.initializing
    ComboDropDown.InitPopupContainer()
    ComboDropDown.InitScrollersFrame()
    ComboDropDown.InitTextBox()
    ComboDropDown.INonClientPaintingSupport.NonClientPaint(PaintEventArgs, Rectangle, Rectangle)
    ComboDropDown.IsInitializing
    ComboDropDown.IsInputChar(Char)
    ComboDropDown.IsInputKey(Keys)
    ComboDropDown.IsPopUpControlType
    ComboDropDown.ISupportOffice2007Theme.EnableOffice2007Style()
    ComboDropDown.IThemedControl.ThemesEnabled
    ComboDropDown.IVisualStyle.VisualTheme
    ComboDropDown.LastCommittedText
    ComboDropDown.m_lastFoundIndex
    ComboDropDown.m_scrollersFrame
    ComboDropDown.MatchFirstCharacterOnly
    ComboDropDown.MaxLength
    ComboDropDown.MetroBorderColor
    ComboDropDown.MetroColor
    ComboDropDown.NeedLayout
    ComboDropDown.NumberOnly
    ComboDropDown.Office2007ColorTheme
    ComboDropDown.Office2010ColorTheme
    ComboDropDown.OnBeginInit()
    ComboDropDown.OnBorder3DStyleChanged(EventArgs)
    ComboDropDown.OnBorderSidesChanged(EventArgs)
    ComboDropDown.OnDropDown(EventArgs)
    ComboDropDown.OnDropDownStyleChanged(EventArgs)
    ComboDropDown.OnEnabledChanged(EventArgs)
    ComboDropDown.OnFontChanged(EventArgs)
    ComboDropDown.OnGotFocus(EventArgs)
    ComboDropDown.OnHandleDestroyed(EventArgs)
    ComboDropDown.OnKeyDown(KeyEventArgs)
    ComboDropDown.OnKeyPress(KeyPressEventArgs)
    ComboDropDown.OnLayout(LayoutEventArgs)
    ComboDropDown.OnLostFocus(EventArgs)
    ComboDropDown.OnMouseDown(MouseEventArgs)
    ComboDropDown.OnMouseEnter(EventArgs)
    ComboDropDown.OnMouseLeave(EventArgs)
    ComboDropDown.OnMouseMove(MouseEventArgs)
    ComboDropDown.OnMouseUp(MouseEventArgs)
    ComboDropDown.OnMouseWheel(MouseEventArgs)
    ComboDropDown.OnNewListItemKeyedIn(Int32)
    ComboDropDown.OnPopupClosed(PopupClosedEventArgs)
    ComboDropDown.OnReadOnlyChanged(EventArgs)
    ComboDropDown.OnSelectionChangeCommitted(EventArgs)
    ComboDropDown.OnSelectionChangedOnPopupClose()
    ComboDropDown.OnSizeChanged(EventArgs)
    ComboDropDown.OnSystemColorsChanged(EventArgs)
    ComboDropDown.OnTabStopChanged(EventArgs)
    ComboDropDown.OnTextBoxKeyUp(KeyEventArgs)
    ComboDropDown.OnThemeChanged(EventArgs)
    ComboDropDown.OnValidated(EventArgs)
    ComboDropDown.OtherChangesMade()
    ComboDropDown.PerformAllowNewText(Message)
    ComboDropDown.PopupContainer
    ComboDropDown.PreventHeightChange
    ComboDropDown.ProcessCmdKey(Message, Keys)
    ComboDropDown.ProcessDDMouseDown()
    ComboDropDown.ProcessDDMouseDown(MouseEventArgs)
    ComboDropDown.ProcessDialogKey(Keys)
    ComboDropDown.ProcessMouseMove(MouseEventArgs, Boolean)
    ComboDropDown.RaiseSelectionChangeCommitted()
    ComboDropDown.ReadOnly
    ComboDropDown.ReadOnlyChanged
    ComboDropDown.ResetBackColor()
    ComboDropDown.ResetDropDownWidth()
    ComboDropDown.ResetFlatBorderColor()
    ComboDropDown.ResetToLatestCommittedText()
    ComboDropDown.RightToLeft
    ComboDropDown.SelectionChangeCommitted
    ComboDropDown.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
    ComboDropDown.SetNeedLayout(Boolean)
    ComboDropDown.SetSelectedText(String, Int32)
    ComboDropDown.SetText(String, Boolean)
    ComboDropDown.SetTextBoxBounds(Rectangle)
    ComboDropDown.ShouldSerializeBackColor()
    ComboDropDown.ShouldSerializeDropDownWidth()
    ComboDropDown.ShouldSerializeFlatBorderColor()
    ComboDropDown.ShowPopup()
    ComboDropDown.Style
    ComboDropDown.SuppressDropDownEvent
    ComboDropDown.Text
    ComboDropDown.TextAlign
    ComboDropDown.TextBox
    ComboDropDown.ThemeChanged
    ComboDropDown.UnInitTextBox()
    ComboDropDown.UpdateDropDownButtonBounds()
    ComboDropDown.UpdateEditPortionBounds(Int32)
    ComboDropDown.UpdateLayout(Graphics)
    ComboDropDown.UpdatePopupBounds()
    ComboDropDown.UpdatePopupControl()
    ComboDropDown.UpdatePopupControlBounds()
    ComboDropDown.UpdatePopupControlRelationship()
    ComboDropDown.UpdateText(Boolean)
    ComboDropDown.UseBackColor
    ComboDropDown.UseMetroButtonColor
    ComboDropDown.UseMetroColorsInActiveMode
    ComboDropDown.UseMnemonic
    ComboDropDown.UseOffice2007ColorsInActiveMode
    Namespace: Syncfusion.Windows.Forms.Schedule
    Assembly: Syncfusion.Schedule.Windows.dll
    Syntax
    public class ColorComboBox : ComboBoxBase, IThemedControl, ISupportInitialize, INonClientPaintingSupport, ISupportOffice2007Theme, IVisualStyle

    Constructors

    ColorComboBox()

    Initializes a new instance of the ColorComboBox class.

    Declaration
    public ColorComboBox()

    Properties

    ShowColor

    Gets or sets a value indicating whether color splotch should be drawn in the dropdown.

    Declaration
    public bool ShowColor { get; set; }
    Property Value
    Type
    System.Boolean

    Methods

    CorrectPopupLocation(Point)

    Sets the correct Popup location.

    Declaration
    protected override Point CorrectPopupLocation(Point location)
    Parameters
    Type Name Description
    System.Drawing.Point location
    Returns
    Type Description
    System.Drawing.Point

    Popup location.

    Overrides
    ComboBoxBase.CorrectPopupLocation(Point)

    DrawEditPortion(PaintEventArgs)

    Overridden to draw color if ShowColor is true.

    Declaration
    protected override void DrawEditPortion(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    The System.Windows.Forms.PaintEventArgs that contains the event data.

    Overrides
    ComboDropDown.DrawEditPortion(PaintEventArgs)

    OnEnter(EventArgs)

    Overrides the Entering event for selecting the drop down list item.

    Declaration
    protected override void OnEnter(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    ComboDropDown.OnEnter(EventArgs)

    OnLeave(EventArgs)

    Overrides the Leave event.

    Declaration
    protected override void OnLeave(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnPaint(PaintEventArgs)

    Overrides the painting event for drawing the rectangle.

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e
    Overrides
    ComboDropDown.OnPaint(PaintEventArgs)

    Implements

    IThemedControl
    System.ComponentModel.ISupportInitialize
    INonClientPaintingSupport
    ISupportOffice2007Theme
    IVisualStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved