C # WinForm Development Series-ComboBox

Source: Internet
Author: User

Including the Automatic completion drop-down box, font drop-down box, computer drive letter, multi-column drop-down box, CheckBox, tree drop-down box, etc. The code is mainly from CodeProject and the copyright belongs to the original author.

1. drop-down box with Automatic completion function (. net 1.1 is used, and. net 2.0 comes with ComboBox.) AutoCompleteComboBox_src.zip

2. checkboxcombox.zip

3. Custom draw drop-down box HtmlDropDownList_src.zip

4. Pull the DataGrid MultiColumnCombo_src.zip MultiColumnComboSuggestionBox.zip

5. A drop-down box PowerComboBoxCSharp.rar with functions such as CheckBox, group, and color tag

6. Pull the TreeView drop-down box treecombobox.rar.

7. It is similar to URLCombo_src.zip in the URL input column of the browser.

8. drop-down box containing images (hierarchical display of nodes)

Sindhumn stands for asp "> Image ComboBox Control

ImageComboBox is an extension of the standard windows combobox control. It supports displaying icons or images in content items. If you look at the windows interface, you will see the windows browser, Internet browser, file open, keep, Print dialog box, all use the drop-down box that can display icons at different levels.

Introduction

ImageComboBox is an extension of the standard windows combobox control. It supports displaying icons or images in content items. If you look at the windows interface, you will see the windows browser, Internet browser, file open, keep, Print dialog box, all use the drop-down box that can display icons at different levels.

The standard Combobox does not support image display. However, in OwnerDrawn mode, it can display icons or images. Of course, there are still some shortcomings: the image can be displayed in the drop-down list, but when you select an item, it is not displayed on the textbox, unless you set the dropdown type to DropDownList. In DropDownList mode, Combobox cannot be edited.
However, I want the image to be displayed in Textbox in three modes. The ImageComboBox provided in this Article can display the images and text you selected in the list box to the Combobox text box in three modes.

In addition, this ImageComboBox supports multi-level division for each item, which helps to group items and display their hierarchies. When DrawMode is set to OwnerDrawVariable, each item can have its own font and text size. Therefore, each item in Combobox has several attributes, which can be specified statically or dynamically. Then, these items are not just simple strings, but special ImageComboBoxItem objects. Therefore, these items are a collection of ImageComboBoxItem objects.

9. FontCombo.zip

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.