Visual C#.Net Tutorial

Define Visual C#.Net

C# Form Control

C# Label Control

C# TextBox Control

C# Button Control

C# RadioButton Control

C# CheckBox Control

C# CheckListBox

C# ListBox Control

C# ComboBox Control

C# LinkLabel Control

C# DateTime DataType

C# DateTimePicker

C# NumericUpDown

C# RandomNumber

C# PictureBox

C# ProgressBar

C# Timer Control

C# ToolTip

C# TabControl

C# RichTextBox

C# MessageBox

C# Menu Control

C# Toolbars

C# Dialogs Box

Page Stats

Visitor: 11

ComboBox Control in C#.Net

The ComboBox control is used to display a drop-down list of various items. The ComboBox control looks like a text box with a button in its right side. When the button is clicked, the ComboBox show a drop-down box containing the list of options/items available. The user can then choose from these options by clicking one of them. ComboBox Properties are:

Attributes Description
AutoCompleteMode Sets the form background color.
AutoCompleteSource Sets the form background color.
DataSource A list of data that the control will use to get its items.
DropDownStyle Sets the form background color.
Items The items in the combo box.
MaxDropDownItem Sets the form background color.
SelectedIndex Gets or sets the selected index.
SelectedItem Gets or sets the item of the currently selected item.
Sorted Specifies whether the items on the combo box should be sorted.

Q8. Select Color from Combo box to change Background Color.
Change Background Color


Q9. Select Font, Font Size, Style, Color and apply in Textbox
Change Text Font