Net framework windows forms




















NET Framework's default font. Because of the new new application bootstrap feature, the Visual Designer accurately reflects the default font. Additionally, the Visual Designer respects the default font that's set in the project file.

Designers that existed in the. NET Framework and enabled building a general-purpose designer, for example building a report designer, have been added to. NET For example, in. This has been greatly improved in. Invoke now accepts System. Action and System. BeginInvoke now accepts System. Action as an input parameter. DialogResult is extended with the following members:.

MessageBoxButtons is extended with the following member:. MessageBoxDefaultButton is extended with the following member:. LinkClickedEventArgs has now a new constructor and extended with the following properties:.

With Windows Forms, you can create powerful Windows-based applications. The following topics describe in-depth how to harness the power of Windows Forms to display data, handle user input, and deploy your applications easily and with enhanced security.

Creating a New Windows Form Contains links to topics that describe basic concepts for creating Windows Forms applications. Changing the Appearance of Windows Forms Contains links to topics that show how to change the appearance of Windows Forms applications. Windows Forms Controls Contains links to topics that describe and show how to use Windows Forms controls and components. You can also data-bind existing controls to data by dragging objects from the Data Sources window onto existing controls.

Another type of data binding you can manage in Windows Forms is settings. Most apps must retain some information about their run-time state, such as the last-known size of forms, and retain user preference data, such as default locations for saved files. The Application Settings feature addresses these requirements by providing an easy way to store both types of settings on the client computer.

After you define these settings by using either Visual Studio or a code editor, the settings are persisted as XML and automatically read back into memory at run time. After you have written your app, you must send the app to your users so that they can install and run it on their own client computers.

When you use the ClickOnce technology, you can deploy your apps from within Visual Studio by using just a few clicks, and provide your users with a URL pointing to your app on the web. ClickOnce manages all the elements and dependencies in your app, and ensures that the app is correctly installed on the client computer.

ClickOnce apps can be configured to run only when the user is connected to the network, or to run both online and offline. When you specify that an app should support offline operation, ClickOnce adds a link to your app in the user's Start menu. The user can then open the app without using the URL. When you update your app, you publish a new deployment manifest and a new copy of your app to your web server. ClickOnce will detect that there is an update available and upgrade the user's installation.

No custom programming is required to update old apps. Skip to main content. This browser is no longer supported.

Download Microsoft Edge More info. Contents Exit focus mode. Desktop Guide Windows Forms. Provides methods used to render a button control with or without visual styles. Provides data for the CacheVirtualItems event. Represents a Windows CheckBox. Provides information about the CheckBox control to accessibility client applications.

Provides methods used to render a check box control with or without visual styles. Displays a ListBox in which a check box is displayed to the left of each item. Encapsulates the collection of indexes of checked items including items in an indeterminate state in a CheckedListBox. Encapsulates the collection of checked items, including items in an indeterminate state, in a CheckedListBox control.

Represents the collection of items in a CheckedListBox. Provides methods to place data on and retrieve data from the system Clipboard. Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors. Provides data for the ColumnClick event.

Displays a single column header in a ListView control. Provides a type converter to convert ColumnHeader objects from one type to another. Provides data for the ColumnReordered event. Provides data for the ColumnWidthChanged event. Provides data for the ColumnWidthChanging event. Provides information about the ComboBox control to accessibility client applications. Represents the collection of items in a ComboBox. Provides methods used to render a combo box control with visual styles.

Provides focus-management functionality for controls that can function as a container for other controls. Provides data for the ContentsResized event. This class is not available in. NET Core 3.

Represents a collection of Control objects. Provides data for the ControlAdded and ControlRemoved events.

Provides methods used to paint common Windows controls and their elements. Provides data for the Format and Parse events. Manages a list of Binding objects. Provides a type converter to convert Cursor objects to and from various other representations. Provides a collection of Cursor objects for use by a Windows Forms application. Provides static , predefined Clipboard format names. Use them to identify the format of data that you store in an IDataObject. Contains information about a part of the DataGrid at a specified coordinate.

Specifies the appearance, text formatting, and behavior of a DataGrid control column. Contains a TraceSwitch that is used by the. NET Framework infrastructure. Represents the table drawn by the DataGrid control at run time. Provides information about the DataGridView control to accessibility client applications.

Represents a collection of controls contained on a DataGridView. Contains information, such as the row and column indexes, about a specific coordinate pair in the DataGridView control. Contains border styles for the cells in a DataGridView control. Represents a linear collection of elements in a DataGridView control. Provides data for the DataBindingComplete event. Represents an individual cell in a DataGridView control.

Provides information about a DataGridViewCell to accessibility client applications. Represents a collection of cells in a DataGridViewRow. Provides data for DataGridView events related to cell and row operations. Provides data for the CellPainting event. Provides data for the CellStateChanged event. Represents the formatting and style information applied to individual cells within a DataGridView control. Provides data for the CellStyleContentChanged event.

Represents a column in a DataGridView control. Specifies whether a column type is visible in the DataGridView designer. Provides data for column-related events of a DataGridView. Represents a column header in a DataGridView control. Provides data for the ColumnStateChanged event. Displays a combo box in a DataGridView control. Provides data for the EditingControlShowing event. Provides the base class for elements of a DataGridView control. Displays a graphic in a DataGridView control.

Represents a column of cells that contain links in a DataGridView control. Represents a row in a DataGridView control. Provides information about a DataGridViewRow to accessibility client applications.

A collection of DataGridViewRow objects. Provides data for row-related DataGridView events. Represents a row header of a DataGridView control. Provides data for the RowPostPaint event. Provides data for the RowPrePaint event. Provides data for the RowsAdded event. Provides data for the RowsRemoved event. Represents a collection of cells that are selected in a DataGridView. Provides data for the SortCompare event. Displays editable text information in a DataGridView control.

Represents the cell in the top left corner of the DataGridView that sits above the row headers and to the left of the column headers. Provides data for events that are internal to the MonthCalendar control. Represents a Windows control that allows the user to select a date and a time and to display the date and time with a specified format.

Provides information about the DateTimePicker control to accessibility client applications. Provides information about the items in the DomainUpDown control to accessibility client applications. Provides information about the DomainUpDown control to accessibility client applications. Encapsulates a collection of objects for use by the DomainUpDown class. Provides data for the DrawColumnHeader event. Provides data for the DrawItem event. Provides data for the DrawSubItem event.

Provides data for the Draw event. Provides data for the DrawNode event. Provides a user interface for indicating that a control on a form has an error associated with it.

Provides static methods for retrieving feature information from the current system. Represents an entry in a FileDialog custom place collection for Windows Vista.

Represents a collection of Windows Vista custom places for the FileDialog class. Provides properties that specify the appearance of Button controls whose FlatStyle is Flat. Provides data for the FormClosed event. Provides data for the FormClosing event. Represents a collection of Form objects. Provides data for the GiveFeedback event, which occurs during a drag operation. Implements one row in a PropertyGrid. Contains a collection of GridItem objects. Represents a Windows control that displays a frame around a group of controls with an optional caption.

Provides methods used to render a group box control with or without visual styles. Allows a custom control to prevent the MouseWheel event from being sent to its parent container. Provides data for the HelpRequested event. Provides basic properties for the HScrollBar.

Defines a collection of HtmlElement objects. Provides data for the Error event. Provides data for the events defined on HtmlDocument and HtmlElement. Represents the logical window that contains one or more instances of HtmlDocument. Represents the windows contained within another HtmlWindow.

Provides methods to manage a collection of Image objects. Encapsulates the collection of Image objects in an ImageList. Provides the data portion of an ImageList. Provides data for the InputLanguageChanged event. Provides data for the InputLanguageChanging event. Stores InputLanguage objects. Provides data for the Invalidated event. Provides data for the ItemChanged event. Provides data for the ItemChecked event of the ListView control.

Provides data for the KeyDown or KeyUp event. Provides data for the KeyPress event. Provides a TypeConverter to convert Keys objects to and from other representations. Provides data for the Layout event. Provides a type converter to convert LinkArea. LinkAreaConverter objects to and from various other representations. Provides data for the LinkClicked event. Provides a type converter for LinkLabel.

Link objects. Represents a link within a LinkLabel control. Represents the collection of links within a LinkLabel control. Provides a type converter to convert Binding objects to and from various other representations. Provides functionality to discover a bindable list and the properties of the items contained in the list when they differ from the public properties of the object to which they bind.

Represents a collection of integers in a ListBox. Represents the collection of items in a ListBox. Represents the collection containing the indexes to the selected items in a ListBox.

Represents the collection of selected items in the ListBox. Provides a common implementation of members for the ListBox and ComboBox classes.

Provides data for the Format event. Represents a Windows list view control, which displays a collection of items that can be displayed using one of four different views.

Represents the collection of column headers in a ListView control. Represents the collection that contains the indexes to the selected items in a ListView control. Represents a group of items displayed within a ListView control. Represents the collection of groups within a ListView control. Used to indicate the expected drop location when an item is dragged to a new position in a ListView control. This functionality is available only on Windows XP and later. Represents an item in a ListView control.



0コメント

  • 1000 / 1000