menu

WinForms

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

    Show / Hide Table of Contents

    Class ComboBoxPopup

    Represents a class that helps to show popup control for SfComboBox.

    Inheritance
    System.Object
    PopupBase
    Popup
    ComboBoxPopup
    Implements
    IPopupHost
    IPopupChild
    IKeyboardMessage
    IMouseMoveMessage
    IMouseHook
    IKeyboardHook
    IPopupParent
    IPopup
    Inherited Members
    Popup.CreatePopupHost()
    Popup.Dispose(Boolean)
    Popup.OnMouseDown(MouseEventArgs)
    Popup.OnMouseLeave(EventArgs)
    Popup.OnMouseMove(MouseEventArgs)
    Popup.OnMouseUp(MouseEventArgs)
    Popup.OnPaint(PaintEventArgs)
    PopupBase.ChildClosing(IPopupChild, PopupCloseAction)
    PopupBase.DefaultMargin
    PopupBase.DefaultSize
    PopupBase.DesignMode
    PopupBase.GetBorderOverlapCue(PopupRelativeAlignment)
    PopupBase.GetLocationForPopupAlignment(PopupRelativeAlignment, PopupRelativeAlignment)
    PopupBase.GetPreferredLocation(PopupRelativeAlignment, PopupRelativeAlignment)
    PopupBase.Hide()
    PopupBase.IKeyboardHook.KeyboardHookProc(Int32, Int32)
    PopupBase.IKeyboardMessage.KeyboardMessage(Message)
    PopupBase.IMouseHook.MouseHook(Int32, Point, IntPtr, Int32, Int32)
    PopupBase.IMouseMoveMessage.MouseMoveMessage(Message)
    PopupBase.IPopup.GetPopupParentControl()
    PopupBase.IPopupParent.ChildClosing(IPopupChild, PopupCloseAction)
    PopupBase.IPopupParent.GetBorderOverlapCue(PopupRelativeAlignment)
    PopupBase.IPopupParent.GetLocationForPopupAlignment(PopupRelativeAlignment, PopupRelativeAlignment)
    PopupBase.IPopupParent.IsRightToLeft
    PopupBase.IsRelatedControl(Control, Boolean)
    PopupBase.IsShowing()
    PopupBase.OnBeforePopup(CancelEventArgs)
    PopupBase.OnCloseUp(PopupCloseAction)
    PopupBase.OnPopup(EventArgs)
    PopupBase.OnSizeChanged(EventArgs)
    PopupBase.ParentControl
    PopupBase.PopupHost
    PopupBase.PopupParent
    PopupBase.ProcessDialogKey(Keys)
    PopupBase.ProcessMouseMessage(Control, Int32, IntPtr, IntPtr)
    PopupBase.RelativeAlignment
    PopupBase.ShowShadow
    PopupBase.Style
    PopupBase.VeryifyMouseBasedDeactivation(Control, Int32)
    Namespace: Syncfusion.WinForms.ListView
    Assembly: Syncfusion.SfListView.WinForms.dll
    Syntax
    public class ComboBoxPopup : Popup, IPopupHost, IPopupChild, IKeyboardMessage, IMouseMoveMessage, IMouseHook, IKeyboardHook, IPopupParent, IPopup

    Constructors

    ComboBoxPopup(Control, SfComboBox)

    Initializes a new instance of the ComboBoxPopup class.

    Declaration
    public ComboBoxPopup(Control control, SfComboBox comboBox)
    Parameters
    Type Name Description
    System.Windows.Forms.Control control

    The control.

    SfComboBox comboBox

    The SfComboBox control.

    Properties

    BorderColor

    Gets or sets ComboBoxPopup BorderColor.

    Declaration
    public Color BorderColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    CancelButton

    Gets the cancel button control for drop down.

    Declaration
    public SfButton CancelButton { get; }
    Property Value
    Type
    SfButton

    MaximumSize

    Gets or sets the maximum drop down size.

    Declaration
    public override Size MaximumSize { get; set; }
    Property Value
    Type
    System.Drawing.Size

    MinimumSize

    Minimum size of the drop down popup containter control.

    Declaration
    public override Size MinimumSize { get; set; }
    Property Value
    Type
    System.Drawing.Size

    OkButton

    Gets the ok button control for drop doww.

    Declaration
    public SfButton OkButton { get; }
    Property Value
    Type
    SfButton

    ShowButtons

    Overrides the show buttons

    Declaration
    public override bool ShowButtons { get; set; }
    Property Value
    Type
    System.Boolean
    Overrides
    Popup.ShowButtons

    ShowGripper

    Gets or sets a value indicating whether the gripper can show or not.

    Declaration
    public override bool ShowGripper { get; set; }
    Property Value
    Type
    System.Boolean
    Overrides
    Popup.ShowGripper

    Methods

    Hide(PopupCloseAction)

    Hides a popup with the specified PopupCloseType mode.

    Declaration
    public override void Hide(PopupCloseAction popupCloseType)
    Parameters
    Type Name Description
    PopupCloseAction popupCloseType

    A PopupCloseType value.

    Overrides
    PopupBase.Hide(PopupCloseAction)

    OnResize(EventArgs)

    Fires the event indicating that the panel has been resized.

    Declaration
    protected override void OnResize(EventArgs eventargs)
    Parameters
    Type Name Description
    System.EventArgs eventargs

    An System.EventArgs that contains the event data.

    SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)

    Performs the work of setting the specified bounds of this control.

    Declaration
    protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
    Parameters
    Type Name Description
    System.Int32 x

    The new Left property value of the control.

    System.Int32 y

    The new Top property value of the control.

    System.Int32 width

    The new Width property value of the control.

    System.Int32 height

    The new Height property value of the control.

    System.Windows.Forms.BoundsSpecified specified

    A bitwise combination of the System.Windows.Forms.BoundsSpecified values.

    Show(Point)

    Shows the popup when click on the drop down button of SfComboBox.

    Declaration
    public override void Show(Point location)
    Parameters
    Type Name Description
    System.Drawing.Point location

    The location where need to show the popup window.

    Overrides
    Popup.Show(Point)

    WndProc(ref Message)

    Override WndProc to get the window messages.

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m

    Window message is sent to the handle of the window.

    Overrides
    PopupBase.WndProc(ref Message)

    Implements

    IPopupHost
    IPopupChild
    IKeyboardMessage
    IMouseMoveMessage
    IMouseHook
    IKeyboardHook
    IPopupParent
    IPopup
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved