WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ComboListBox

    Show / Hide Table of Contents

    Class ComboListBox

    Specifies the list box used in a ComboBoxAdv.

    Inheritance
    System.Object
    ComboListBox
    Implements
    INonClientPaintingSupport
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class ComboListBox : ListBox, INonClientPaintingSupport

    Constructors

    ComboListBox(ComboBoxAdv)

    Declaration
    public ComboListBox(ComboBoxAdv comboBox)
    Parameters
    Type Name Description
    ComboBoxAdv comboBox

    Properties

    DrawMode

    Declaration
    public override DrawMode DrawMode { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.DrawMode

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    DrawBackground(DrawItemEventArgs)

    Draws the Background

    Declaration
    protected virtual void DrawBackground(DrawItemEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.DrawItemEventArgs e

    The System.Windows.Forms.DrawItemEventArgs instance containing the event data.

    DrawBackgroundMetro(DrawItemEventArgs)

    Declaration
    protected virtual void DrawBackgroundMetro(DrawItemEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.DrawItemEventArgs e

    DrawBackgroundOffice2007(DrawItemEventArgs)

    Declaration
    protected virtual void DrawBackgroundOffice2007(DrawItemEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.DrawItemEventArgs e

    DrawImage(DrawItemEventArgs)

    Draws the image.

    Declaration
    protected virtual void DrawImage(DrawItemEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.DrawItemEventArgs e

    The System.Windows.Forms.DrawItemEventArgs instance containing the event data.

    DrawText(DrawItemEventArgs)

    Draws the text.

    Declaration
    protected virtual void DrawText(DrawItemEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.DrawItemEventArgs e

    The System.Windows.Forms.DrawItemEventArgs instance containing the event data.

    OnDrawItem(DrawItemEventArgs)

    Raises the DrawItem event.

    Declaration
    protected override void OnDrawItem(DrawItemEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.DrawItemEventArgs e

    A System.Windows.Forms.DrawItemEventArgs that contains the event data.

    OnFontChanged(EventArgs)

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

    WndProc(ref Message)

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

    Explicit Interface Implementations

    INonClientPaintingSupport.NonClientPaint(PaintEventArgs, Rectangle, Rectangle)

    This method used to draw NonClient area using the passed in parameters.

    Declaration
    IntPtr INonClientPaintingSupport.NonClientPaint(PaintEventArgs e, Rectangle displayRect, Rectangle windowRectInScreen)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    The System.Windows.Forms.PaintEventArgs using this to draw the non client area.

    System.Drawing.Rectangle displayRect

    The control's window bounds into which to draw.

    System.Drawing.Rectangle windowRectInScreen

    The control's bounds in screen co-ordinates.

    Returns
    Type Description
    System.IntPtr

    HRgn (as IntPtr) that excludes the region drew in the displayRect.

    Implements

    INonClientPaintingSupport
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved