Windows Forms control (msdn) in. NET Framework)

Source: Internet
Author: User

The following table shows the Windows Forms controls that are listed according to common functions.

Function Widget Description

Text editing

Textbox

Allow users to edit multiple rows of input.

Toolstriptextbox

Allow users to edit multiple rows of input.

RichTextBox

Allows users to input, display, and operate through format settingsComposition.

Text display (read-only)

Label

Displays text that cannot be edited by the user.

Toolstriplabel

Displays text that cannot be edited by the user.

Linklabel

Allows you to add a WEB style link to a Windows form application.Program.

Statusbar

Displays status information related to controls with focus.

Toolstripstatuslabel

Displays status information related to controls with focus.

Select from List

Checkedlistbox

Displays the list of items. Each item has a check box.

ComboBox

Display Data in the drop-down box.

Toolstripcombobox

Display Data in the drop-down box.

Domainupdown

Displays the text strings that you can browse and select from.

ListBox

Displays a list of text items and graphical items (icons.

Listview

The list of items with icons is displayed in Windows Resource Manager.

Numericupdown

Displays the numbers that you can browse and select from.

Treeview

Displays the hierarchy of nodes that can be expanded or collapsed.

Graphic Display

Picturebox

Displays images in the format of bitmap, GIF, JPEG, Metafile, or icon.

Graphic Storage

Imagelist

Display images on other controls.

Value settings

Checkbox

Indicates whether to enable or disable it.

Checkedlistbox

Displays the list of items. Each item has a check box.

Radiobutton

Shows the consumer group composed of two or more mutex options.

Trackbar

Allows you to navigate through a large amount of information or adjust numeric settings intuitively.

Data settings

Datetimepicker

You can select a single item from the date or time list.

Monthcalendar

An intuitive graphic interface is displayed for you to view and set date information.

Dialog Box

Colordialog

In the pre-configured dialog box, you can select a color from the color palette and add a custom color to the color palette.

Folderbrowserdialog

Displays an interface through which you can browse and select directories or create new directories.

Fontdialog

Public the font currently installed on the system.

Openfiledialog

You can open a file in a pre-configured dialog box.

Pagesetupdialog

Set the page details for printing in the pre-configured dialog box.

Printdialog

Select the printer, select the page to be printed, and confirm other printing-related settings.

Printdocument

Set the attributes that describe the printed content and print the document in a Windows-based application.

Printpreviewcontrol

You can create your own printpreview component or dialog box instead of using the pre-configured version.

Printpreviewdialog

Display the document according to the style when the document is printed.

Savefiledialog

Select the file to be saved and its location.

Menu Control

Mainmenu

The menu is displayed during running.

Menustrip

The menu is displayed during running.

Contextmenu

Provides users with easy-to-access menus that contain frequently used commands associated with the selected object.

Contextmenustrip

Provides users with easy-to-access menus that contain frequently used commands associated with the selected object.

Command

Button

Displays the standard buttons that users can click to perform operations.

Linklabel

This allows you to add web style links to Windows Forms applications.

Yyicon

Displays the icons of processes that run in the background and do not have a user interface in other cases.

Toolbar

Displays the menu and Bitmap Buttons of the activation command.

Toolstrip

This allows you to create a custom toolbar and menu in a Windows Forms Application.

Group other controls

Panel

Provides identifiable groups for other controls and allows scrolling.

Groupbox

Provides identifiable groups for other controls.

Tabcontrol

Displays multiple tabs that can contain images or other controls.

Data

DataGrid

Displays the table data in the dataset and allows updates to the data source.

Datagridview

Provides a user interface for ADO. Net datasets to display table data and allow data sources to be updated.

Navigation

Hscrollbar

By scrolling horizontally in an application or control, you can navigate to the item list or a large amount of information.

Vscrollbar

You can scroll vertically in an application or control to navigate the item list or a large amount of information.

User Information

Errorprovider

The error message is displayed to the user in non-disturbing mode.

Helpprovider

Associate HTML Help Files with Windows-based applications.

Web

Webbrowser

Hosts webpages and provides Internet Web browsing for applications.

Multi-task

Backgroundworker

This allows you to run time-consuming operations in the background on a thread different from the main UI thread of the application.

User Interface help

Progressbar

Graphically shows the progress of the operation.

Toolstripprogressbar

Graphically shows the progress of the operation.

Splitcontainer

Allows you to adjust the size of the docked control.

Timer

Events are triggered at scheduled intervals.

Tooltip

Displays text when you point to other controls.

Usage: http://msdn2.microsoft.com/zh-cn/library/y4325aw3 (vs.80). aspx

Controls used on Windows Forms

Windows Forms controls listed by function

List and describe Windows Forms controls based on. NET Framework.

Controls supported by built-in owner description

Describes how to change the appearance of controls that cannot be accessed through properties.

Backgroundworker component

Enables the form or control to run operations asynchronously.

Bindingnavigator control (Windows form)

Provides navigation and user interface (UI) for controls bound to Data ).

Bindingsource component

Encapsulate the data source to bind to the control.

Button Control (Windows Forms)

Displays the standard buttons that users can click to perform operations.

Checkbox control (Windows form)

Indicates whether to enable or disable it.

Checkedlistbox control (Windows form)

Displays the list of items. Each item has a check box.

Colordialog component (Windows form)

In the pre-configured dialog box, you can select a color from the color palette and add a custom color to the color palette.

ComboBox control (Windows form)

Display Data in the drop-down box.

Contextmenu component (Windows form)

Provides users with easy-to-access menus that contain frequently used commands associated with the selected object. Although contextmenustrip replaces features in earlier versions of the contextmenu control and adds other features, you can retainContextmenuFor backward compatibility and future use.

Contextmenustrip Control

Shortcut menu. AlthoughContextmenustripReplaced with earlier versionsContextmenuControls and other functions are added, but can be retained if needed.ContextmenuFor backward compatibility and future use.

DataGrid Control (Windows form)

Displays the table data in the dataset and allows updates to the data source.

Datagridview control (Windows form)

It provides a flexible and scalable system for displaying and editing table data.

Datetimepicker control (Windows form)

You can select a single item from the date or time list.

Dialog box controls and components (Windows Forms)

Describes a group of controls that allow users to perform standard interactions with applications or systems.

Domainupdown control (Windows form)

Displays the text strings that you can browse and select from.

Errorprovider component (Windows form)

The error message is displayed to the user in non-disturbing mode.

Flowlayoutpanel control (Windows form)

A panel that dynamically emits content along the horizontal or vertical direction.

Folderbrowserdialog component (Windows form)

Displays an interface through which you can browse and select directories or create new directories.

Fontdialog component (Windows form)

Public the font currently installed on the system.

Groupbox control (Windows form)

Provides identifiable groups for other controls.

Helpprovider component (Windows form)

Associate HTML Help Files with Windows-based applications.

Hscrollbar and vscrollbar controls (Windows Forms)

You can scroll horizontally or vertically in an application or control to navigate the item list or a large amount of information.

Imagelist component (Windows form)

Display images on other controls.

Label control (Windows Forms)

Displays text that cannot be edited by the user.

Linklabel control (Windows form)

This allows you to add web style links to Windows Forms applications.

ListBox control (Windows form)

You can select one or more items from the predefined list.

Listview control (Windows form)

The list of items with icons is displayed in Windows Resource Manager.

Mainmenu component (Windows form)

The menu is displayed during running. Although menustrip replaces earlier versions of mainmenu controls and adds features, you can also choose to retainMainmenuFor backward compatibility and future use.

Maskedtextbox control (Windows form)

Format of user input in the constrained form.

Menustrip control (Windows form)

Provides a menu system for the form. AlthoughMenustripReplaced with earlier versionsMainmenuControl and added functions; however, you can choose to retainMainmenuFor backward compatibility and future use.

Monthcalendar control (Windows form)

An intuitive graphic interface is displayed for you to view and set date information.

Notifyicon component (Windows form)

Displays the icons of processes that run in the background and do not have a user interface in other cases.

Numericupdown control (Windows form)

Displays the numbers that you can browse and select from.

Openfiledialog component (Windows form)

Users are allowed to open files in the pre-configured dialog box.

Pagesetupdialog component (Windows form)

Use the pre-configured dialog box to print the detailed information on the settings page.

Panel control (Windows Forms)

Provides recognizable groups for other controls and supports scrolling.

Picturebox control (Windows form)

Displays images in the format of bitmap, GIF, JPEG, Metafile, or icon.

Printdialog component (Windows form)

Select the printer, select the page to be printed, and confirm other printing-related settings.

Printdocument component (Windows form)

Set the attributes that describe the printed content and print the document in a Windows-based application.

Printpreviewcontrol (Windows form)

Allow you to create your ownPrintpreviewThe component or dialog box, instead of the pre-configured version.

Printpreviewdialog control (Windows form)

Display the document according to the style when the document is printed.

Progressbar control (Windows form)

Graphically shows the progress of the operation.

Radiobutton control (Windows form)

Shows the consumer group composed of two or more mutex options.

RichTextBox Control (Windows form)

Allows users to enter, display, and operate texts through format settings.

Savefiledialog component (Windows form)

Select the file to be saved and its location.

Soundplayer class

This allows you to easily include sound in applications.

Splitcontainer control (Windows form)

Allows you to adjust the size of the docked control.

Splitter control (Windows form)

Allows you to adjust the size of the docked controls (. NET Framework Version 1.x ).

Statusbar control (Windows form)

Displays status information related to controls with focus. Although statusstrip replaces and extends earlier versions of the statusbar control, you can also choose to retainStatusbarFor backward compatibility and future use.

Statusstrip Control

Indicates the Windows status bar control. AlthoughStatusstripReplaced and extended earlier versionsStatusbarControl, but you can also choose to retainStatusbarFor backward compatibility and future use.

Tabcontrol control (Windows form)

Displays multiple tabs that can contain images or other controls.

Tablelayoutpanel control (Windows form)

A panel, which can dynamically layout its content in a grid composed of rows and columns.

Textbox Control (Windows form)

Allow users to edit multiple rows of input.

Timer component (Windows form)

Events are triggered at scheduled intervals.

Toolbar Control (Windows Forms)

Displays the menu and Bitmap Buttons of the activation command. You can extend the functions of a widget and modify its appearance and behavior. Although toolstrip replaces earlier versions of the Toolbar Control and adds features, you can choose to retainToolbarFor backward compatibility and future use.

Toolstrip control (Windows form)

Create a custom toolbar and menu in the Windows Forms Application. AlthoughToolstripReplaced with earlier versionsToolbarControl and added functions; however, you can choose to retainToolbarFor backward compatibility and future use.

Toolstripcontainer Control

To Dock, float, and arrangeToolstripThe control provides a panel on the four sides of the form and a central toolstripcontentpanel for the traditional control.

Toolstrippanel Control

To Dock, float, and arrangeToolstripControl provides a panel.

Toolstripprogressbar control Overview

Graphically shows the progress of the operation. Toolstripprogressbar is usually included inStatusstrip.

Toolstripstatuslabel Control

IndicatesStatusstripControl.

Tooltip component (Windows form)

Displays text when you point to other controls.

Trackbar control (Windows form)

Allows you to navigate through a large amount of information or adjust numeric settings intuitively.

Treeview control (Windows form)

Displays the hierarchy of nodes that can be expanded or collapsed.

Webbrowser control (Windows form)

Hosts webpages and provides Internet Web browsing for applications.

Windows form controls used to list options

Describes a set of controls that provide users with a list of options to choose from.

Usage: http://msdn2.microsoft.com/zh-cn/library/3xdhey7w (vs.80). aspx

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.