System.Windows.Forms 命名空間

包含用於建立基於Windows的應用程式類別,充分利用Microsoft Windows作業系統豐富的使用者介面功能。

類別

名稱 Description
AccessibleObject

提供無障礙應用程式用以調整使用者介面(UI)以適應身心障礙使用者的資訊。

AmbientProperties

提供頂層控制的環境屬性值。

Application

提供 static 方法與屬性以管理應用程式,例如啟動與停止應用程式的方法、處理Windows訊息,以及取得應用程式資訊的屬性。 此類別無法獲得繼承。

ApplicationContext

指定應用程式線程的相關內容資訊。

AutoCompleteStringCollection

包含字串集合,用於特定 Windows Forms 控制件上的自動完成功能。

AxHost

將 ActiveX 控制項包裝成完整功能 Windows Forms 控制項。

AxHost.AxComponentEditor

提供一個編輯器,使用模態對話框來顯示 ActiveX 控制項的屬性頁。

AxHost.ClsidAttribute

指定由 AxHost 控件所裝載之 ActiveX 控制件的 CLSID。

AxHost.ConnectionPointCookie

將 ActiveX 控制項連接到處理該控制項事件的用戶端。

AxHost.InvalidActiveXStateException

當 ActiveX 控制項被引用且處於無效狀態時,會拋出的例外。

AxHost.State

封裝 ActiveX 控制件的保存狀態。

AxHost.StateConverter

AxHost.State 物件從一種資料型態轉換成另一種。

AxHost.TypeLibraryTimeStampAttribute

指定與 AxHost 控件所裝載之 ActiveX 控制件類型庫相關聯的日期和時間。

BaseCollection

提供在命名空間中建立資料相關集合 System.Windows.Forms 的基本功能。

BindableComponent

基底類別用於提供可透過 Windows Forms Designer 進行資料綁定的屬性的元件。

Binding

代表物件屬性值與控制值屬性值之間的簡單綁定。

BindingCompleteEventArgs

提供 BindingComplete 事件的資料。

BindingContext

管理任何繼承自該BindingManagerBase類別的物件集合Control

BindingManagerBase

管理所有 Binding 綁定到相同資料來源與資料成員的物件。 這個類別是抽象的。

BindingManagerDataErrorEventArgs

提供 DataError 事件的資料。

BindingNavigator

代表綁定於資料的表單控制項的導航與操作使用者介面(UI)。

BindingsCollection

代表一組 Binding 對照項的物件集合。

BindingSource

封裝窗體的數據源。

Button

代表 Windows 的按鍵控制。

ButtonBase

實作按鈕控制常見的基本功能。

ButtonBase.ButtonBaseAccessibleObject

提供無障礙應用程式用以調整殘障使用者使用者介面的資訊。

ButtonRenderer

提供有無視覺風格的按鈕控制渲染方法。 此類別無法獲得繼承。

CacheVirtualItemsEventArgs

提供 CacheVirtualItems 事件的資料。

CheckBox

代表一個 Windows CheckBox

CheckBox.CheckBoxAccessibleObject

提供有關 CheckBox 無障礙客戶端應用程式控制的資訊。

CheckBoxRenderer

提供有或無視覺樣式的勾選框控制渲染方法。 此類別無法獲得繼承。

CheckedListBox

顯示 ListBox 一個,每個項目左側會顯示一個勾選框。

CheckedListBox.CheckedIndexCollection

封裝了檢查項目索引的集合(包括處於不定狀態的項目)。CheckedListBox

CheckedListBox.CheckedItemCollection

封裝已檢查項目的集合,包括處於不確定狀態的項目,並封裝在 CheckedListBox 控制中。

CheckedListBox.ObjectCollection

表示 中 的項目 CheckedListBox集合。

Clipboard

提供將資料放入及從系統剪貼簿取回資料的方法。 此類別無法獲得繼承。

ColorDialog

代表一個共用對話框,顯示可用顏色及使用者自訂顏色的控制項。

ColumnClickEventArgs

提供 ColumnClick 事件的資料。

ColumnHeader

在控制項中顯示單欄標頭 ListView

ColumnHeaderConverter

提供一種型別轉換器,用以將 ColumnHeader 物件從一種型態轉換成另一種型別。

ColumnReorderedEventArgs

提供 ColumnReordered 事件的資料。

ColumnStyle

代表表格版面中欄位的外觀與感覺。

ColumnWidthChangedEventArgs

提供 ColumnWidthChanged 事件的資料。

ColumnWidthChangingEventArgs

提供 ColumnWidthChanging 事件的資料。

ComboBox

代表 Windows 的組合盒控制。

ComboBox.ChildAccessibleObject

提供有關 ComboBox 無障礙客戶端應用程式控制的資訊。

ComboBox.ObjectCollection

表示 中 的項目 ComboBox集合。

ComboBoxRenderer

提供用於渲染組合盒控制項及視覺風格的方法。 此類別無法獲得繼承。

CommonDialog

指定用於螢幕上顯示對話框的基底類別。

ContainerControl

提供聚焦管理功能,讓可作為其他控制容器的控制項使用。

ContentsResizedEventArgs

提供 ContentsResized 事件的資料。

ContextMenu

代表捷徑選單。

此類別在 .NET Core 3.1 及更新版本中無法使用。 ContextMenuStrip使用,取代並擴展控制。ContextMenu

ContextMenuStrip

代表捷徑選單。

Control

定義控件的基類,這些控件是具有視覺表示的元件。

Control.ControlAccessibleObject

提供可被無障礙應用程式使用的控制項資訊。

Control.ControlCollection

代表一組 Control 物件。

ControlBindingsCollection

代表控制項的資料綁定集合。

ControlEventArgs

提供 ControlAddedControlRemoved 事件的數據。

ControlPaint

提供用於繪製常見 Windows 控制項及其元素的方法。 此類別無法獲得繼承。

ConvertEventArgs

提供 FormatParse 事件的數據。

CreateParams

封裝建立控制時所需的資訊。

CurrencyManager

管理物件清單 Binding

Cursor

表示用來繪製滑鼠指標的影像。

CursorConverter

提供型別轉換器,可將 Cursor 物件轉換至各種表示方式或與其他表示方式。

Cursors

提供一組 Cursor 物件供 Windows Forms 應用程式使用。

DataFormats

提供 static預先定義 Clipboard 的格式名稱。 用它們來識別你儲存在 IDataObject.

DataFormats.Format

代表剪貼板格式類型。

DataGrid

以可捲動的網格顯示 ADO.NET 資料。

此類別在 .NET Core 3.1 及更新版本中無法使用。 建議改用 DataGridView 控制,這樣可以取代並延長控制功能 DataGrid

DataGrid.HitTestInfo

包含指定座標某部分 DataGrid 的資訊。 此類別無法獲得繼承。

DataGridBoolColumn

指定一欄,每個格子內含一個用來表示布林值的勾選框。

DataGridColumnStyle

指定控制欄的 DataGrid 外觀、文字格式及行為。 這個類別是抽象的。

DataGridColumnStyle.CompModSwitches

包含一個TraceSwitch,供 .NET Framework 基礎架構使用。

DataGridColumnStyle.DataGridColumnHeaderAccessibleObject

提供一個可被無障礙應用程式檢查的物件實作。

DataGridPreferredColumnWidthTypeConverter

將物件的值轉換成不同的資料型態。

DataGridTableStyle

代表執行時控制 DataGrid 項繪製的表格。

DataGridTextBox

代表 TextBox 一個託管在 DataGridTextBoxColumn的控制點。

DataGridTextBoxColumn

TextBoxDataGridColumnStyle 一個儲存格中托管一個控制項,用於編輯字串。

DataGridView

以可自訂的網格方式顯示資料。

DataGridView.DataGridViewAccessibleObject

提供有關 DataGridView 無障礙客戶端應用程式控制的資訊。

DataGridView.DataGridViewControlCollection

代表包含在 的 DataGridView控制項集合。

DataGridView.DataGridViewTopRowAccessibleObject

提供一列 DataGridViewColumnHeaderCell 物件的資訊給無障礙客戶端應用程式。

DataGridView.HitTestInfo

包含關於控制項中特定座標對 DataGridView 的資訊,例如列與欄索引。 此類別無法獲得繼承。

DataGridViewAdvancedBorderStyle

包含控制項中儲存格 DataGridView 的邊界樣式。

DataGridViewAutoSizeColumnModeEventArgs

提供 AutoSizeColumnModeChanged 事件的資料。

DataGridViewAutoSizeColumnsModeEventArgs

提供 AutoSizeColumnsModeChanged 事件的資料。

DataGridViewAutoSizeModeEventArgs

提供事件DataGridViewAutoSizeRowsModeChangedRowHeadersWidthSizeModeChanged資料。

DataGridViewBand

代表控制項中的 DataGridView 線性元素集合。

DataGridViewBindingCompleteEventArgs

提供 DataBindingComplete 事件的資料。

DataGridViewButtonCell

顯示類似按鈕的使用者介面(UI),用於 DataGridView 控制項。

DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject

提供有關 DataGridViewButtonCell 無障礙客戶端應用程式的資訊。

DataGridViewButtonColumn

主機上有一組 DataGridViewButtonCell 物件。

DataGridViewCell

代表對照組中的 DataGridView 單一單元格。

DataGridViewCell.DataGridViewCellAccessibleObject

提供有關 DataGridViewCell 無障礙客戶端應用程式的資訊。

DataGridViewCellCancelEventArgs

提供事件資料CellBeginEditRowValidating

DataGridViewCellCollection

代表一組細胞。DataGridViewRow

DataGridViewCellContextMenuStripNeededEventArgs

提供 CellContextMenuStripNeeded 事件的資料。

DataGridViewCellErrorTextNeededEventArgs

提供控制 CellErrorTextNeeded 事件 DataGridView 的資料。

DataGridViewCellEventArgs

提供與儲存格與列操作相關的事件資料 DataGridView

DataGridViewCellFormattingEventArgs

提供事件資料。CellFormattingDataGridView

DataGridViewCellMouseEventArgs

提供當滑鼠在 DataGridView中移動時,由 所DataGridViewCell引發的事件資料。

DataGridViewCellPaintingEventArgs

提供 CellPainting 事件的資料。

DataGridViewCellParsingEventArgs

提供控制 CellParsing 事件 DataGridView 的資料。

DataGridViewCellStateChangedEventArgs

提供 CellStateChanged 事件的資料。

DataGridViewCellStyle

代表控制項中 DataGridView 各儲存格所採用的格式與樣式資訊。

DataGridViewCellStyleContentChangedEventArgs

提供 CellStyleContentChanged 事件的資料。

DataGridViewCellStyleConverter

物件與其他 DataGridViewCellStyle 資料型態之間的轉換。

DataGridViewCellToolTipTextNeededEventArgs

提供 CellToolTipTextNeeded 事件的資料。

DataGridViewCellValidatingEventArgs

提供控制 CellValidating 事件 DataGridView 的資料。

DataGridViewCellValueEventArgs

提供控制CellValueNeededCellValuePushed與事件DataGridView的數據。

DataGridViewCheckBoxCell

顯示一個可用於 DataGridView 控制項的勾選框使用者介面(UI)。

DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject

提供有關 DataGridViewCheckBoxCell 無障礙客戶端應用程式的資訊。

DataGridViewCheckBoxColumn

主機上有一組 DataGridViewCheckBoxCell 物件。

DataGridViewColumn

代表控制項中的 DataGridView 一欄。

DataGridViewColumnCollection

表示控制項中的DataGridViewColumn一組DataGridView物件。

DataGridViewColumnDesignTimeVisibleAttribute

指定資料行類型是否顯示在 DataGridView 設計工具中。 此類別無法獲得繼承。

DataGridViewColumnDividerDoubleClickEventArgs

提供事件資料。ColumnDividerDoubleClickDataGridView

DataGridViewColumnEventArgs

提供與欄位相關的事件 DataGridView資料。

DataGridViewColumnHeaderCell

代表控制項中的 DataGridView 欄位標頭。

DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject

提供有關 DataGridViewColumnHeaderCell 無障礙客戶端應用程式的資訊。

DataGridViewColumnStateChangedEventArgs

提供 ColumnStateChanged 事件的資料。

DataGridViewComboBoxCell

在控制器中顯示一個連擊框 DataGridView

DataGridViewComboBoxCell.DataGridViewComboBoxCellAccessibleObject

代表目前 DataGridViewComboBoxCell 物件的無障礙物件。

DataGridViewComboBoxCell.ObjectCollection

代表 中選擇選項 DataGridViewComboBoxCell的集合。

DataGridViewComboBoxColumn

代表一列 DataGridViewComboBoxCell 物件。

DataGridViewComboBoxEditingControl

代表 DataGridViewComboBoxCell以 .

DataGridViewDataErrorEventArgs

提供 DataError 事件的資料。

DataGridViewEditingControlShowingEventArgs

提供 EditingControlShowing 事件的資料。

DataGridViewElement

提供控制項元素 DataGridView 的基底類別。

DataGridViewHeaderCell

包含列標頭儲存格與欄標頭儲存格常見的功能。

DataGridViewImageCell

在控制鍵中顯示圖形 DataGridView

DataGridViewImageCell.DataGridViewImageCellAccessibleObject

提供有關 DataGridViewImageCell 無障礙客戶端應用程式的資訊。

DataGridViewImageColumn

主機上有一組 DataGridViewImageCell 物件。

DataGridViewLinkCell

代表包含連結的儲存格。

DataGridViewLinkCell.DataGridViewLinkCellAccessibleObject

提供有關 DataGridViewLinkCell 無障礙客戶端應用程式控制的資訊。

DataGridViewLinkColumn

代表一欄包含控制項連結 DataGridView 的儲存格。

DataGridViewRow

代表控制項中的 DataGridView 一列。

DataGridViewRow.DataGridViewRowAccessibleObject

提供有關 DataGridViewRow 無障礙客戶端應用程式的資訊。

DataGridViewRowCancelEventArgs

提供事件資料。UserDeletingRowDataGridView

DataGridViewRowCollection

物件的 DataGridViewRow 集合。

DataGridViewRowContextMenuStripNeededEventArgs

提供 RowContextMenuStripNeeded 事件的資料。

DataGridViewRowDividerDoubleClickEventArgs

提供事件資料。RowDividerDoubleClickDataGridView

DataGridViewRowErrorTextNeededEventArgs

提供控制 RowErrorTextNeeded 事件 DataGridView 的資料。

DataGridViewRowEventArgs

提供與行相關的 DataGridView 事件資料。

DataGridViewRowHeaderCell

代表控制項的 DataGridView 列標頭。

DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject

提供有關 DataGridViewRowHeaderCell 無障礙客戶端應用程式的資訊。

DataGridViewRowHeightInfoNeededEventArgs

提供事件資料。RowHeightInfoNeededDataGridView

DataGridViewRowHeightInfoPushedEventArgs

提供事件資料。RowHeightInfoPushedDataGridView

DataGridViewRowPostPaintEventArgs

提供 RowPostPaint 事件的資料。

DataGridViewRowPrePaintEventArgs

提供 RowPrePaint 事件的資料。

DataGridViewRowsAddedEventArgs

提供 RowsAdded 事件的資料。

DataGridViewRowsRemovedEventArgs

提供 RowsRemoved 事件的資料。

DataGridViewRowStateChangedEventArgs

提供事件資料。RowStateChangedDataGridView

DataGridViewSelectedCellCollection

代表一組在 中被選中的 DataGridView細胞。

DataGridViewSelectedColumnCollection

代表一組 DataGridViewColumn 在 中被選取 DataGridView的物件。

DataGridViewSelectedRowCollection

代表一組 DataGridViewRow 在 中被選取 DataGridView的物件。

DataGridViewSortCompareEventArgs

提供 SortCompare 事件的資料。

DataGridViewTextBoxCell

在控制 DataGridView 項中顯示可編輯的文字資訊。

DataGridViewTextBoxCell.DataGridViewTextBoxCellAccessibleObject

代表目前 DataGridViewTextBoxCell 物件的無障礙物件。

DataGridViewTextBoxColumn

擁有一組 DataGridViewTextBoxCell 細胞。

DataGridViewTextBoxEditingControl

代表一個可以託管在 DataGridViewTextBoxCell.

DataGridViewTopLeftHeaderCell

代表位於 左 DataGridView 上角、列標題上方、欄位標題左側的儲存格。

DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject

提供有關 DataGridViewTopLeftHeaderCell 無障礙客戶端應用程式的資訊。

DataObject

實作基本的資料傳輸機制。

DataObjectExtensions

包含用於建立基於Windows的應用程式類別,充分利用Microsoft Windows作業系統豐富的使用者介面功能。

DateBoldEventArgs

提供控制系統內部 MonthCalendar 事件的資料。

DateRangeEventArgs

提供控制 DateChangedDateSelectedMonthCalendar 事件的數據。

DateTimePicker

代表一個 Windows 控制項,允許使用者選擇日期和時間,並以指定格式顯示日期和時間。

DateTimePicker.DateTimePickerAccessibleObject

提供有關 DateTimePicker 無障礙客戶端應用程式控制的資訊。

DockingAttribute

指定控制件的預設停駐行為。

DomainUpDown

代表一個 Windows 旋轉盒(也稱為上下控制),用以顯示字串值。

DomainUpDown.DomainItemAccessibleObject

提供關於無障礙客戶端應用程式控制項目 DomainUpDown 的資訊。

DomainUpDown.DomainUpDownAccessibleObject

提供有關 DomainUpDown 無障礙客戶端應用程式控制的資訊。

DomainUpDown.DomainUpDownItemCollection

封裝 物件集合,以供 DomainUpDown 類別使用。

DpiChangedEventArgs

提供表單或控制項的 DPIChanged 事件資料。

DragEventArgs

提供 、 DragDropDragEnter 事件的資料DragOver

DrawItemEventArgs

提供 DrawItem 事件的資料。

DrawListViewColumnHeaderEventArgs

提供 DrawColumnHeader 事件的資料。

DrawListViewItemEventArgs

提供 DrawItem 事件的資料。

DrawListViewSubItemEventArgs

提供 DrawSubItem 事件的資料。

DrawToolTipEventArgs

提供 Draw 事件的資料。

DrawTreeNodeEventArgs

提供 DrawNode 事件的資料。

ErrorProvider

提供使用者介面,用以指示表單上的控制項有錯誤。

FeatureSupport

提供從目前系統擷取功能資訊的 static 方法。

FileDialog

顯示一個對話框,使用者可從中選擇檔案。

FileDialogCustomPlace

代表FileDialog自訂地點收藏中的一個條目,適用於Windows Vista。

FileDialogCustomPlacesCollection

代表一組Windows Vista自訂位置,用於 FileDialog 類別。

FlatButtonAppearance

提供屬性,指定控制Button項的外觀FlatStyle,其為 Flat

FlowLayoutPanel

代表透過水平或垂直方式動態配置其內容的面板。

FlowLayoutSettings

收集與流程佈局相關的特性。

FolderBrowserDialog

提示使用者選擇資料夾。 此類別無法獲得繼承。

FontDialog

提示使用者從本地電腦安裝的字型中選擇一款字型。

Form

代表構成應用程式使用者介面的視窗或對話框。

Form.ControlCollection

代表表單上的一系列控制項。

FormClosedEventArgs

提供 FormClosed 事件的資料。

FormClosingEventArgs

提供 FormClosing 事件的資料。

FormCollection

代表一組 Form 物件。

GiveFeedbackEventArgs

提供拖曳操作期間發生的事件資料 GiveFeedback

GridColumnStylesCollection

代表控制中DataGridColumnStyle一組DataGrid物件。

GridItem

實作 一列的 PropertyGrid

GridItemCollection

包含一組 GridItem 物件。

GridTablesFactory

提供 CreateGridTables(DataGridTableStyle, Object, String, BindingContext) 方法。

GridTableStylesCollection

代表控制中DataGridTableStyle一組DataGrid物件。

GroupBox

代表一個 Windows 控制項,會顯示一組控制項周圍的框架,並附有可選的說明文字。

GroupBoxRenderer

提供用於渲染群組框控制項的方法,可搭配或不使用視覺樣式。 此類別無法獲得繼承。

HandledMouseEventArgs

允許自訂控制,防止 MouseWheel 事件被傳送到其父容器。

Help

封裝了 HTML Help 1.0 引擎。

HelpEventArgs

提供 HelpRequested 事件的資料。

HelpProvider

提供彈出視窗或線上控制說明。

HScrollBar

代表標準的 Windows 水平捲動條。

HScrollProperties

提供 的基本性質。HScrollBar

HtmlDocument

提供由控制項託管的 WebBrowser HTML 文件的頂層程式存取。

HtmlElement

表示網頁內的 HTML 元素。

HtmlElementCollection

定義一組 HtmlElement 物件。

HtmlElementErrorEventArgs

提供 Error 事件的資料。

HtmlElementEventArgs

提供定義於 和 HtmlDocumentHtmlElement的事件資料。

HtmlHistory

管理使用者在目前會話中瀏覽的檔案和網站清單。

HtmlWindow

代表包含一個或多個 的 HtmlDocument邏輯視窗。

HtmlWindowCollection

表示包含於另一個 HtmlWindow中的視窗。

ImageIndexConverter

提供型別轉換器,可將影像索引的資料與字串之間轉換。

ImageKeyConverter

提供一種型別轉換器,可將影像鍵的資料轉換至或與其他資料型別轉換。

ImageList

提供管理物件集合 Image 的方法。 此類別無法獲得繼承。

ImageList.ImageCollection

Image 裝了 ImageList

ImageListStreamer

提供 ImageList.

ImeContext

包含可直接與 IME API 互動的靜態方法。

InputLanguage

提供管理輸入語言的方法與欄位。 此類別無法獲得繼承。

InputLanguageChangedEventArgs

提供 InputLanguageChanged 事件的資料。

InputLanguageChangingEventArgs

提供 InputLanguageChanging 事件的資料。

InputLanguageCollection

儲存 InputLanguage 物品。

InvalidateEventArgs

提供 Invalidated 事件的資料。

ItemChangedEventArgs

提供 ItemChanged 事件的資料。

ItemCheckedEventArgs

提供控制 ItemChecked 事件 ListView 的資料。

ItemCheckEventArgs

提供事件 ItemCheckCheckedListBoxListView 與控制的資料。

ItemDragEventArgs

提供事件 ItemDragListViewTreeView 與控制的資料。

KeyEventArgs

提供手術 KeyDownKeyUp 事件的資料。

KeyPressEventArgs

提供 KeyPress 事件的資料。

KeysConverter

提供 一個 TypeConverter 來轉換 Keys 物件與其他表示法之間的轉換。

Label

代表標準 Windows 標籤。

LabelEditEventArgs

提供 BeforeLabelEditAfterLabelEdit 事件的數據。

LayoutEventArgs

提供 Layout 事件的資料。 此類別無法獲得繼承。

LayoutSettings

提供一個基底類別來收集佈局方案的特性。

LinkArea.LinkAreaConverter

提供型別轉換器,可將 LinkArea.LinkAreaConverter 物件轉換至各種表示方式或與其他表示方式。

LinkClickedEventArgs

提供 LinkClicked 事件的資料。

LinkConverter

提供物件的 LinkLabel.Link 型別轉換器。

LinkLabel

代表一個 Windows 標籤控制項,可以顯示超連結。

LinkLabel.Link

代表控制區內 LinkLabel 的連結。

LinkLabel.LinkCollection

代表控制項內 LinkLabel 的連結集合。

LinkLabelLinkClickedEventArgs

提供 LinkClicked 事件的資料。

ListBindingConverter

提供型別轉換器,可將 Binding 物件轉換至各種表示方式或與其他表示方式。

ListBindingHelper

提供功能,當清單中項目與其綁定對象的公開屬性不同時,能發現可綁定清單及其屬性。

ListBox

代表 Windows 的一個控制項,用來顯示一串項目。

ListBox.IntegerCollection

代表一組整數的集合。ListBox

ListBox.ObjectCollection

表示 中 的項目 ListBox集合。

ListBox.SelectedIndexCollection

代表包含所選項目 ListBox索引的集合。

ListBox.SelectedObjectCollection

代表 中所選項目 ListBox的集合。

ListControl

提供 和 ListBox 類別成員的共同實作ComboBox

ListControlConvertEventArgs

提供 Format 事件的資料。

ListView

代表 Windows 清單檢視控制項,顯示一組可用四種不同視圖之一顯示的項目。

ListView.CheckedIndexCollection

表示集合,其中包含清單檢視控件中已核取專案的索引。

ListView.CheckedListViewItemCollection

表示清單檢視控件中已核取專案的集合。

ListView.ColumnHeaderCollection

代表控制項中 ListView 欄位標頭的集合。

ListView.ListViewItemCollection

代表控制項中的集合 ListView ,或指派到一個 ListViewGroup

ListView.SelectedIndexCollection

代表包含控制項中所選項目 ListView 索引的集合。

ListView.SelectedListViewItemCollection

表示清單檢視控件中選取專案的集合。

ListViewGroup

代表一組在控制項中 ListView 顯示的項目。

ListViewGroupCollection

代表控制組內 ListView 的群組集合。

ListViewGroupEventArgs

提供事件資料OnGroupCollapsedStateChanged(ListViewGroupEventArgs)OnGroupTaskLinkClick(ListViewGroupEventArgs)

ListViewHitTestInfo

包含控制區或 ListView的區域ListViewItem資訊。

ListViewInsertionMark

用於指示當項目被拖曳到控制中 ListView 新位置時,預期的落點位置。 此功能僅在 Windows XP 及以後版本上提供。

ListViewItem

代表控制組中的 ListView 一個項目。

ListViewItem.ListViewSubItem

代表 的 ListViewItem子項目。

ListViewItem.ListViewSubItemCollection

代表一組 ListViewItem.ListViewSubItem 儲存在 ListViewItem的物件集合。

ListViewItemConverter

提供型別轉換器,可將 ListViewItem 物件轉換至各種表示方式或與其他表示方式。

ListViewItemMouseHoverEventArgs

提供 ItemMouseHover 事件的資料。

ListViewItemSelectionChangedEventArgs

提供 ItemSelectionChanged 事件的資料。

ListViewItemStateImageIndexConverter

提供一種類型轉換器,將狀態影像索引值從一種資料型態轉換到另一種。

ListViewVirtualItemsSelectionRangeChangedEventArgs

提供 VirtualItemsSelectionRangeChanged 事件的資料。

MainMenu

代表表單的選單結構。

此類別在 .NET Core 3.1 及更新版本中無法使用。 MenuStrip使用,取代並擴展控制。MainMenu

MaskedTextBox

使用遮罩來區分正確與不正確的使用者輸入。

MaskInputRejectedEventArgs

提供 MaskInputRejected 事件的資料。

MdiClient

代表多文件介面(MDI)子表單的容器。 此類別無法獲得繼承。

MdiClient.ControlCollection

包含一系列 MdiClient 控制裝置。

MeasureItemEventArgs

提供事件 MeasureItemListBoxComboBoxCheckedListBoxMenuItem 控制項的資料。

Menu

代表所有選單的基本功能。

此類別在 .NET Core 3.1 及更新版本中無法使用。 使用ToolStripDropDownToolStripDropDownMenu取代並擴展控制。Menu

Menu.MenuItemCollection

代表一組 MenuItem 物件。

MenuItem

代表顯示在或 MainMenuContextMenu內的單一項目。

此類別在 .NET Core 3.1 及更新版本中無法使用。 使用ToolStripMenuItem代替,取代了控制。MenuItem

MenuStrip

提供功能表系統給表單。

MessageBox

顯示訊息視窗,也稱為對話框,向使用者呈現訊息。 它是一個模態視窗,會阻擋應用程式中的其他動作,直到使用者關閉它。 A MessageBox 可以包含文字、按鈕和符號,用以告知和指示使用者。

MonthCalendar

代表一個 Windows 控制項,允許使用者使用視覺化的月曆顯示選擇日期。

MonthCalendar.HitTestInfo

包含控制區某一區域 MonthCalendar 的資訊。 此類別無法獲得繼承。

MouseEventArgs

提供 、 MouseUpMouseDown事件的資料MouseMove

NativeWindow

提供視窗控制柄及視窗程序的低階封裝。

NavigateEventArgs

提供 Navigate 事件的資料。

NodeLabelEditEventArgs

提供 BeforeLabelEditAfterLabelEdit 事件的數據。

NotifyIcon

指定一個元件在通知區建立圖示。 此類別無法獲得繼承。

NumericUpDown

代表一個 Windows 旋轉盒(也稱為上下控制),用以顯示數值。

NumericUpDownAcceleration

提供資訊,說明在指定時間內按下上下按鈕時,旋轉盒(亦稱上下控制)應如何執行加速。

NumericUpDownAccelerationCollection

代表控制項中NumericUpDownAcceleration已排序的物件集合NumericUpDown

OpacityConverter

提供型別轉換器,可將不透明度值轉換為字串與字串之間。

OpenFileDialog

顯示標準對話框,提示使用者開啟檔案。 此類別無法獲得繼承。

OSFeature

提供作業系統特定的功能查詢。

OwnerDrawPropertyBag

包含元件可能偶爾才需要的屬性值。

PaddingConverter

提供型別轉換器,可將數值轉換 Padding 至及轉換至其他表示方式。

PageSetupDialog

允許使用者更改頁面相關的列印設定,包括邊界與紙張方向。 此類別無法獲得繼承。

PaintEventArgs

提供 Paint 事件的資料。

Panel

用來分組控制組集合。

PictureBox

代表 Windows 的圖片框控制項,用於顯示影像。

PopupEventArgs

提供 Popup 事件的資料。

PowerStatus

顯示目前系統電源狀態資訊。

PreviewKeyDownEventArgs

提供 PreviewKeyDown 事件的資料。

PrintControllerWithStatusDialog

控制文件如何從 Windows Forms 應用程式列印。

PrintDialog

讓使用者選擇印表機,並選擇從 Windows Forms 應用程式列印文件的哪些區塊。

PrintPreviewControl

代表從 Windows Forms 應用程式進行列印預覽的原始預覽部分,無需任何對話框或按鈕。 大多數 PrintPreviewControl 物體存在於物體上 PrintPreviewDialog ,但不一定非得如此。

PrintPreviewDialog

代表一個對話框表單,包含從 Windows 表單應用程式列印的 。PrintPreviewControl

ProfessionalColors

提供Color結構,這些結構是Windows顯示元素的顏色。 此類別無法獲得繼承。

ProfessionalColorTable

提供用於 Microsoft Office 顯示元素的顏色。

ProgressBar

代表 Windows 進度條控制。

ProgressBarRenderer

提供用於渲染進度條控制項及視覺風格的方法。 此類別無法獲得繼承。

PropertyGrid

提供瀏覽物件屬性的使用者介面。

PropertyGrid.PropertyTabCollection

包含一組 PropertyTab 物件。

PropertyManager

維持物件屬性與資料綁定控制屬性之間的 a Binding

PropertyTabChangedEventArgs

提供事件資料。PropertyTabChangedPropertyGrid

PropertyValueChangedEventArgs

提供事件資料。PropertyValueChangedPropertyGrid

QueryAccessibilityHelpEventArgs

提供 QueryAccessibilityHelp 事件的資料。

QueryContinueDragEventArgs

提供 QueryContinueDrag 事件的資料。

QuestionEventArgs

提供需要truefalse解答問題的事件資料。

RadioButton

當與其他 RadioButton 控制項配對時,使用者可從一組選項中選擇單一選項。

RadioButton.RadioButtonAccessibleObject

提供有關 RadioButton 無障礙客戶端應用程式控制的資訊。

RadioButtonRenderer

提供渲染選項按鈕控制項(亦稱單選按鈕)的方法,可搭配或不包含視覺樣式。 此類別無法獲得繼承。

RelatedImageListAttribute

指出與屬性相關的 ImageList

RetrieveVirtualItemEventArgs

提供 RetrieveVirtualItem 事件的資料。

RichTextBox

代表 Windows 的富文字框控制項。

RowStyle

代表表格排版中一排的外觀與感覺。

SaveFileDialog

提示使用者選擇儲存檔案的位置。 此類別無法獲得繼承。

Screen

代表單一系統上的一個或多個顯示裝置。

ScrollableControl

定義支援自動捲動行為的控件基類。

ScrollableControl.DockPaddingEdges

決定停靠控制的邊界填充。

ScrollableControl.DockPaddingEdgesConverter

這門課是TypeConverterAScrollableControl.DockPaddingEdges

ScrollBar

實作滾動條控制的基本功能。

ScrollBarRenderer

提供用於渲染捲軸控制項及視覺樣式的方法。 此類別無法獲得繼承。

ScrollEventArgs

提供 Scroll 事件的資料。

ScrollProperties

封裝與捲動相關的屬性。

SearchForVirtualItemEventArgs

提供 SearchForVirtualItem 事件的資料。

SelectedGridItemChangedEventArgs

提供控制 SelectedGridItemChanged 事件 PropertyGrid 的資料。

SelectionRange

代表月曆控制中的日期選擇範圍。

SelectionRangeConverter

提供一種類型轉換器,可將物件轉換 SelectionRange 成各種其他類型。

SendKeys

提供向應用程式傳送按鍵的方法。

SplitContainer

代表一個由可移動橫條組成的控制面板,將貨櫃的展示區域分成兩個可調整大小的面板。

Splitter

代表一個分配器控制,允許使用者調整底座控制鍵大小。 Splitter 已被取代 SplitContainer ,且僅提供以相容先前版本。

SplitterCancelEventArgs

提供分線器事件的數據。

SplitterEventArgs

提供事件資料SplitterMovingSplitterMoved

SplitterPanel

建立一個與 SplitContainer相關聯的面板。

StatusBar

代表一個 Windows 狀態列控制項。

此類別在 .NET 5 及之後版本中無法使用。 建議改用 StatusStrip 控制,這樣可以取代並延長控制功能 StatusBar

StatusBar.StatusBarPanelCollection

代表控制面板的集合 StatusBar

StatusBarDrawItemEventArgs

提供 DrawItem 事件的資料。

StatusBarPanel

代表 StatusBar 控制項中的面板。

此類別在 .NET 5 及之後版本中無法使用。 建議改用 ToolStripStatusLabel 控制,這樣可以取代並延長控制功能 StatusBarPanel

StatusBarPanelClickEventArgs

提供 PanelClick 事件的資料。

StatusStrip

代表一個 Windows 狀態列控制項。

SystemInformation

提供有關當前系統環境的資訊。

TabControl

管理一組相關的分頁頁。

TabControl.ControlCollection

包含一組 Control 物件。

TabControl.TabPageCollection

包含一組 TabPage 物件。

TabControlCancelEventArgs

提供控制 Selecting 項及 Deselecting 事件 TabControl 的資料。

TabControlEventArgs

提供控制 Selected 項及 Deselected 事件 TabControl 的資料。

TableLayoutCellPaintEventArgs

提供 CellPaint 事件的資料。

TableLayoutColumnStyleCollection

一個收藏物品的 ColumnStyle 集合。

TableLayoutControlCollection

表示一組子控制項,置於表格佈局容器中。

TableLayoutPanel

代表會在由列和欄組成的方格中動態排列內容的面板。

TableLayoutRowStyleCollection

一個收藏物品的 RowStyle 集合。

TableLayoutSettings

收集與表格佈局相關的特徵。

TableLayoutStyle

實作表式佈局外觀與行為的基本功能。

TableLayoutStyleCollection

實作表格版面配置樣式集合的基本功能。

TabPage

代表一個單一的分頁頁。TabControl

TabPage.TabPageControlCollection

包含所 TabPage 使用的控制項集合。

TabRenderer

提供用於渲染具有視覺樣式的分頁控制的方法。 此類別無法獲得繼承。

TaskDialog

任務對話框允許顯示資訊並從使用者那裡獲得簡單的輸入。 它類似於由作業系統格式化的 a MessageBox ,但提供了更多功能。

TaskDialogButton

代表任務對話框的按鍵控制。

TaskDialogButtonCollection

代表一組 TaskDialogButton 物件。

TaskDialogCommandLinkButton

代表任務對話框的指令連結按鈕控制。

TaskDialogControl

代表任務對話框的控制。

TaskDialogExpander

代表一個擴展按鈕及任務對話框中相關的擴展區域。

TaskDialogFootnote

代表任務對話框中的腳註區域。

TaskDialogIcon

代表一個圖示,可在任務對話框的主區域(透過設定 Icon 屬性)或任務對話框的腳註中顯示(透過設定 Icon 屬性)。

TaskDialogLinkClickedEventArgs

提供 LinkClicked 事件的資料。

TaskDialogPage

代表任務對話框的一頁內容。

TaskDialogProgressBar

代表任務對話框的進度條控制。

TaskDialogRadioButton

代表任務對話框的單選按鈕控制。

TaskDialogRadioButtonCollection

代表一組 TaskDialogRadioButton 物件。

TaskDialogVerificationCheckBox

代表任務對話框的驗證勾選框控制。

TextBox

代表 Windows 的文字框控制項。

TextBoxBase

實作文字控制項所需的基本功能。

TextBoxRenderer

提供用於渲染帶有視覺樣式的文字框控制項的方法。 此類別無法獲得繼承。

TextRenderer

提供用於測量與呈現文字的方法。 此類別無法獲得繼承。

ThreadExceptionDialog

實作一個對話框,當執行緒中發生未處理異常時會顯示。

Timer

實作一個計時器,在使用者定義的間隔內觸發事件。 此計時器為 Windows Forms 應用程式優化,必須在視窗中使用。

ToolBar

代表一個 Windows 工具列。

此類別在 .NET Core 3.1 及更新版本中無法使用。 ToolStrip使用,取代並擴展控制。ToolBar

ToolBar.ToolBarButtonCollection

封裝一組 ToolBarButton 供類別使用的 ToolBar 控制項。

ToolBarButton

代表 Windows 工具列按鈕。

此類別在 .NET Core 3.1 及更新版本中無法使用。 ToolStripButton使用,取代並擴展控制。ToolBarButton

ToolBarButtonClickEventArgs

提供 ButtonClick 事件的資料。

ToolStrip

提供一個容器來存放 Windows 工具列物件。

ToolStrip.ToolStripAccessibleObject

提供無障礙應用程式用以調整身心障礙使用者介面 ToolStrip 的資訊。

ToolStripArrowRenderEventArgs

提供 RenderArrow 事件的資料。

ToolStripButton

代表一個可選擇的可選選項 ToolStripItem ,可包含文字與圖片。

ToolStripComboBox

表示 ToolStripComboBox 一個在 中正確渲染的 ToolStrip

ToolStripContainer

在模具兩側設有面板,中央面板可容納一個或多個控制器。

ToolStripContentPanel

代表控制器的 ToolStripContainer 中央面板。

ToolStripContentPanelRenderEventArgs

提供 RendererChanged 事件的資料。

ToolStripControlHost

可以承載自訂控制項或 Windows Forms 控制項。

ToolStripControlHost.ToolStripHostedControlAccessibleObject

代表負責標準項目及託管控制項( ToolStrip 如 TextBox、ComboBox、ProgressBar 等)中可存取的物件控制主機。

ToolStripDropDown

代表一個控制項,允許使用者從 ToolStripDropDownButton點擊 .

ToolStripDropDown.ToolStripDropDownAccessibleObject

提供有關 ToolStripDropDown 無障礙客戶端應用程式控制的資訊。

ToolStripDropDownButton

代表一個控制項,點擊時會顯示一個關聯 ToolStripDropDown 的選項,使用者可從中選擇單一項目。

ToolStripDropDownClosedEventArgs

提供 Closed 事件的資料。

ToolStripDropDownClosingEventArgs

提供 Closing 事件的資料。

ToolStripDropDownItem

提供基本功能,用於點擊 、 或 ToolStripDropDown 控制項時ToolStripDropDownButton顯示 aToolStripMenuItemToolStripSplitButton

ToolStripDropDownItemAccessibleObject

提供無障礙應用程式用以調整身心障礙使用者介面 ToolStripDropDown 的資訊。

ToolStripDropDownMenu

提供基本控制功能 ContextMenuStrip

ToolStripGripRenderEventArgs

提供 RenderGrip 事件的資料。

ToolStripItem

代表一個抽象基底類別,負責管理所有 ToolStrip a 或 ToolStripDropDown 可包含元素的事件與佈局。

ToolStripItem.ToolStripItemAccessibleObject

提供無障礙應用程式用以調整身心障礙使用者介面 ToolStripItem 的資訊。

ToolStripItemClickedEventArgs

提供 ItemClicked 事件的資料。

ToolStripItemCollection

代表一組 ToolStripItem 物件。

ToolStripItemEventArgs

提供事件資料 ToolStripItem

ToolStripItemImageRenderEventArgs

提供 RenderItemImage 事件的資料。

ToolStripItemRenderEventArgs

提供渲染類別中衍生ToolStripItemToolStripRenderer物件背景的事件資料。

ToolStripItemTextRenderEventArgs

提供 RenderItemText 事件的資料。

ToolStripLabel

代表一個非可選的選項 ToolStripItem ,能渲染文字與圖片,並顯示超連結。

ToolStripManager

控制 ToolStrip 渲染與漂流,以及合併 MenuStrip、 、 ToolStripDropDownMenuToolStripMenuItem 物件。 此類別無法獲得繼承。

ToolStripMenuItem

代表一個可選擇的選項,顯示在或 MenuStripContextMenuStrip上。

ToolStripOverflow

管理 的溢出行為 ToolStrip

ToolStripOverflowButton

主機 a ToolStripDropDown 顯示溢出 ToolStrip的項目。

ToolStripPanel

建立容器,其中其他控件可以共用水準或垂直空間。

ToolStripPanel.ToolStripPanelRowCollection

表示 中ToolStripPanelRow的所有ToolStripPanel物件。

ToolStripPanelRenderEventArgs

提供繪圖所需的 ToolStripPanel 資料。

ToolStripPanelRow

代表 a ToolStripPanel 的一列,可包含控制項。

ToolStripProfessionalRenderer

負責物件的繪畫功能 ToolStrip ,套用自訂調色盤和簡化風格。

ToolStripProgressBar

代表包含在 StatusStrip. 中的 Windows 進度條控制。

ToolStripRenderer

負責物件的繪製功能 ToolStrip

ToolStripRenderEventArgs

提供 、 OnRenderImageMargin(ToolStripRenderEventArgs)OnRenderToolStripBorder(ToolStripRenderEventArgs) 方法的資料OnRenderToolStripBackground(ToolStripRenderEventArgs)

ToolStripSeparator

代表一條用於分組 a ToolStrip 項目或 a 或其他MenuStripContextMenuStrip控制項下ToolStripDropDown拉選單項目的行。

ToolStripSeparatorRenderEventArgs

提供 RenderGrip 事件的資料。

ToolStripSplitButton

代表左邊一個標準按鈕和右邊一個下拉按鈕的組合,或反過來若 RightToLeft 值為 Yes

ToolStripSplitButton.ToolStripSplitButtonAccessibleObject

提供無障礙應用程式用以調整身心障礙使用者介面 ToolStripSplitButton 的資訊。

ToolStripStatusLabel

代表 StatusStrip 控制項中的面板。

ToolStripSystemRenderer

處理物件的繪製功能 ToolStrip ,使用系統色彩和平面視覺風格。

ToolStripTextBox

代表一個文字框, ToolStrip 允許使用者輸入文字。

ToolTip

代表一個小型長方形彈出視窗,當使用者將指標放在控制器上時,會簡短說明該控制器的用途。

TrackBar

代表標準的 Windows 軌道條。

TrackBarRenderer

提供用於渲染軌跡條控制並具備視覺風格的方法。 此類別無法獲得繼承。

TreeNode

代表 的 TreeView一個節點。

TreeNodeCollection

代表一組 TreeNode 物件。

TreeNodeConverter

提供型別轉換器,可將 TreeNode 物件轉換至各種表示方式或與其他表示方式。

TreeNodeMouseClickEventArgs

提供 NodeMouseClickNodeMouseDoubleClick 事件的數據。

TreeNodeMouseHoverEventArgs

提供 NodeMouseHover 事件的資料。

TreeView

顯示一組階層式標記項目集合,每個項目以 表示。TreeNode

TreeViewCancelEventArgs

提供控制 BeforeCheck項的 、 BeforeCollapseBeforeExpandBeforeSelect 事件 TreeView 資料。

TreeViewEventArgs

提供控制AfterCheck項的 AfterCollapseAfterExpandAfterSelectTreeView事件資料。

TreeViewHitTestInfo

包含控制區或 TreeView的區域TreeNode資訊。

TreeViewImageIndexConverter

提供一種類型轉換器,用於將影像索引的資料轉換成一種資料型別,供控制項使用 TreeView

TreeViewImageKeyConverter

提供一種型別轉換器,可將影像鍵的資料轉換至或與其他資料型別轉換。

TypeValidationEventArgs

提供 TypeValidationCompleted 事件的資料。

UICuesEventArgs

提供 ChangeUICues 事件的資料。

UpDownBase

實作自旋盒(亦稱為上下控制)所需的基本功能。

UpDownEventArgs

提供源自控制 UpDownBase 的控制資料。

UserControl

提供一個空控制項,可用來建立其他控制項。

VScrollBar

代表標準的 Windows 垂直捲動條。

VScrollProperties

提供類別的基本屬性 VScrollBar

WebBrowser

讓使用者能在表單中瀏覽網頁。

WebBrowser.WebBrowserSite

代表控制項的 WebBrowser 宿主視窗。

WebBrowserBase

提供一個通用 ActiveX 控制項的包裝器,供控制項作為基底類別 WebBrowser 使用。

WebBrowserDocumentCompletedEventArgs

提供 DocumentCompleted 事件的資料。

WebBrowserNavigatedEventArgs

提供 Navigated 事件的資料。

WebBrowserNavigatingEventArgs

提供 Navigating 事件的資料。

WebBrowserProgressChangedEventArgs

提供 ProgressChanged 事件的資料。

WebBrowserSiteBase

實作 ActiveX 站點的介面,供該類別作為基底類別 WebBrowser.WebBrowserSite 使用。

WindowsFormsSection

定義了一個新的 ConfigurationSection 解析應用程式設定。 此類別無法獲得繼承。

WindowsFormsSynchronizationContext

提供 Windows Forms 應用程式模型的同步情境。

結構

名稱 Description
BindingMemberInfo

包含可讓 Binding 解析數據系結至物件屬性的資訊,或物件清單中目前對象的屬性。

DataGridCell

識別方格中的儲存格。

ImeModeConversion

提供輸入法轉換模式相關信息的協助程序類別。

LinkArea

表示 LinkLabel 控件內代表控件內超連結的區域。

Message

實作 Windows 訊息。

Padding

表示與使用者介面 (UI) 專案相關聯的填補或邊界資訊。

TableLayoutPanelCellPosition

表示 TableLayoutPanel中的數據格。

介面

名稱 Description
IAsyncDropTarget

包含用於建立基於Windows的應用程式類別,充分利用Microsoft Windows作業系統豐富的使用者介面功能。

IBindableComponent

使非控制元件能模擬 Windows Forms 控制項的資料綁定行為。

IButtonControl

讓控制項能像表單上的按鈕一樣運作。

ICommandExecutor

定義一種方法,能在實作此介面的型別上執行特定動作。

IComponentEditorPageSite

該網站為 ComponentEditorPage.

IContainerControl

提供一個控制項作為其他控制項的父功能。

ICurrencyManagerProvider

提供元件自訂綁定管理。

IDataGridColumnStyleEditingNotificationService

提供編輯通知介面。

IDataGridEditingService

代表處理編輯請求的方法。

IDataGridViewEditingCell

定義了可操作其數值的單元的共通功能。

IDataGridViewEditingControl

定義了託管於 cell DataGridView內的控制項的常見功能。

IDataObject

提供一種格式無關的資料傳輸機制。

IDropTarget

定義滑鼠事件。

IFeatureSupport

規範一個標準介面,用於從目前系統擷取特徵資訊。

IFileReaderService

定義一種從目前目錄開啟檔案的方法。

IMessageFilter

定義訊息過濾器介面。

ITypedDataObject

包含用於建立基於Windows的應用程式類別,充分利用Microsoft Windows作業系統豐富的使用者介面功能。

IWin32Window

提供一個介面來揭露 Win32 硬體負載的句柄。

IWindowTarget

定義控制項與 Windows API 之間的通訊層。

列舉

名稱 Description
AccessibleEvents

指定可存取應用程式所報告的事件。

AccessibleNavigation

指定值,以在可存取的對象之間巡覽。

AccessibleRole

指定值,表示可存取物件可能的角色。

AccessibleSelection

指定如何選取或接收焦點的可存取物件。

AccessibleStates

指定值,表示可存取物件的可能狀態。

AnchorStyles

指定控件如何錨定至其容器邊緣。

Appearance

指定控件的外觀。

ArrangeDirection

指定系統排列最小化視窗的方向。

ArrangeStartingPosition

指定系統用來排列最小化視窗的起始位置。

ArrowDirection

指定使用 GetNextItem(ToolStripItem, ArrowDirection) 方法取得專案時要移動的方向。

AutoCompleteMode

指定 ComboBoxTextBox 控制項中使用的自動完成功能模式。

AutoCompleteSource

指定 ComboBoxTextBox 自動完成功能的來源。

AutoScaleMode

規定 Windows Forms 支援的不同自動縮放模式類型。

AutoSizeMode

指定當控件啟用 AutoSize 屬性時,控件的行為。

AutoValidate

決定控件在失去使用者輸入焦點時驗證其數據的方式。

AxHost.ActiveXInvokeKind

指定在 ActiveX 控制件處於無效狀態時參考 ActiveX 控制件的成員類型。

BatteryChargeStatus

定義標識碼,指出目前的電池電量或充電狀態資訊。

BindingCompleteContext

指定系結作業的方向。

BindingCompleteState

表示已完成系結作業的結果。

BootMode

指定啟動系統的開機模式。

Border3DSide

指定要套用三維框線的矩形側邊。

Border3DStyle

指定三維框線的樣式。

BorderStyle

指定控制件的框線樣式。

BoundsSpecified

指定定義控制元件的大小和位置時要使用的控制項界限。

ButtonBorderStyle

指定按鈕控制件的框線樣式。

ButtonState

指定按鈕的外觀。

CaptionButton

指定要顯示的標題按鈕類型。

CharacterCasing

指定 TextBox 控制件中的字元大小寫。

CheckState

指定控制項的狀態,例如複選框,可以核取、取消核取或設定為不確定狀態。

CloseReason

指定表單已關閉的原因。

ColorDepth

指定用來在 ImageList 控件中顯示影像的色彩數目。

ColumnHeaderAutoResizeStyle

指定應該如何調整包含在 ListView 中的數據行大小。

ColumnHeaderStyle

指定 ListView 控件中數據行標頭的樣式。

ComboBoxStyle

指定 ComboBox 樣式。

ControlStyles

指定控件的樣式和行為。

ControlUpdateMode

判斷數據源值的變更何時會傳播至對應的數據綁定控件屬性。

DataGrid.HitTestType

指定使用者已按下 DataGrid 控件的一部分。

DataGridLineStyle

指定 DataGrid中的網格線樣式。

DataGridParentRowsLabelStyle

指定如何顯示 DataGrid 控件的父數據列標籤。

DataGridViewAdvancedCellBorderStyle

指定可套用至 DataGridView 控件儲存格的框線樣式。

DataGridViewAutoSizeColumnMode

定義值,以指定如何調整數據行的寬度。

DataGridViewAutoSizeColumnsMode

定義值,以指定如何調整數據行的寬度。

DataGridViewAutoSizeRowMode

定義值,以指定如何調整數據列的高度。

DataGridViewAutoSizeRowsMode

定義值,以指定如何調整數據列的高度。

DataGridViewCellBorderStyle

指定可套用至 DataGridView 控件儲存格的框線樣式。

DataGridViewCellStyleScopes

指定擁有已變更之單元格樣式的 DataGridView 實體。

DataGridViewClipboardCopyMode

定義常數,指出內容是否從 DataGridView 控件複製到剪貼簿。

DataGridViewColumnHeadersHeightSizeMode

定義值,以指定如何調整數據行行首的高度。

DataGridViewColumnSortMode

定義使用者如何排序 DataGridView 數據行。

DataGridViewComboBoxDisplayStyle

定義常數,指出如何顯示 DataGridViewComboBoxCell

DataGridViewContentAlignment

定義常數,指出 DataGridView 儲存格中內容的對齊方式。

DataGridViewDataErrorContexts

表示發生數據錯誤時,數據系結 DataGridView 控件的狀態。

DataGridViewEditMode

指定使用者如何在 DataGridView 控件中啟動儲存格編輯。

DataGridViewElementStates

指定 DataGridView 控制項內專案的使用者介面 (UI) 狀態。

DataGridViewHeaderBorderStyle

指定可套用至 ColumnHeadersBorderStyle 控件 RowHeadersBorderStyleDataGridView 屬性的框線樣式。

DataGridViewHitTestType

指定 DataGridView 控制件中的位置。

DataGridViewImageCellLayout

指定包含在 DataGridViewCell中的影像配置。

DataGridViewPaintParts

定義值,以指定要繪製之 DataGridViewCell 的元件。

DataGridViewRowHeadersWidthSizeMode

定義值,以指定如何調整數據列標頭寬度。

DataGridViewSelectionMode

描述如何選取 DataGridView 控件的儲存格。

DataGridViewTriState

定義值,以指定三個可能狀態的其中一個。

DataSourceUpdateMode

指定當綁定控件發生變更時,數據源何時更新。

DateTimePickerFormat

指定 DateTimePicker 控制件顯示的日期和時間格式。

Day

指定一周中的一天。

DialogResult

指定標識碼,指出對話框的傳回值。

DockingBehavior

指定透過設計工具新增時,控件預設應停駐的方式。

DockStyle

指定控制件停駐的位置和方式。

DragAction

指定拖放作業應該繼續的方式和情況。

DragDropEffects

指定拖放作業的可能效果。

DrawItemState

指定正在繪製之項目的狀態。

DrawMode

指定如何繪製控件的專案。

DropImageType

指定置放描述影像類型。

ErrorBlinkStyle

指定常數,指出錯誤圖示由 ErrorProvider提供的時間,應該閃爍以提醒用戶發生錯誤。

ErrorIconAlignment

指定常數,指出錯誤圖示與控件有錯誤相關的位置。

FixedPanel

指定 Panel1Panel2或兩個面板都沒有固定。

FlatStyle

指定控件的外觀。

FlowDirection

定義常數,指定連續使用者介面 (UI) 元素放置於線性配置容器的方向。

FormBorderStyle

指定表單的框線樣式。

FormCornerPreference

指定可使用 Form 屬性設定之 FormCornerPreference 的邊角喜好設定。

FormStartPosition

指定表單的初始位置。

FormWindowState

指定表單視窗的顯示方式。

FrameStyle

指定所選取控件的框架樣式。

GetChildAtPointSkip

指定要略過的子控件。

GridItemType

指定 PropertyGrid的有效方格項目類型。

HelpNavigator

會指定常數,指出要顯示之說明檔的哪些元素。

HighDpiMode

指定可以套用至應用程式的不同高 DPI 模式。

HorizontalAlignment

指定控件中的物件或文字相對於控件元素的水準對齊方式。

HtmlElementInsertionOrientation

定義值,描述在使用 InsertAdjacentElement(HtmlElementInsertionOrientation, HtmlElement)時插入新元素的位置。

ImageLayout

指定影像在控制項上的位置。

ImeMode

指定值,這個值會決定選取物件時對象的輸入法編輯器 (IME) 狀態。

InsertKeyMode

表示文字框所使用的插入模式。

ItemActivation

指定在清單檢視控件中啟動專案所需的使用者動作,以及當使用者將滑鼠指標移至專案上方時提供的意見反應。

ItemBoundsPortion

指定要從中擷取周框的清單檢視專案部分。

Keys

指定索引鍵碼和修飾詞。

LeftRightAlignment

指定物件或文字是否對齊參考點的左邊或右邊。

LinkBehavior

指定 LinkLabel中鏈接的行為。

LinkState

指定定義連結狀態的常數。

ListViewAlignment

指定專案在 ListView中的對齊方式。

ListViewGroupCollapsedState

指定 ListViewGroup的外觀。

ListViewHitTestLocations

定義常數,表示 ListViewListViewItem中的區域。

ListViewItemStates

定義常數,表示 ListViewItem的可能狀態。

MaskFormat

定義如何在 MaskedTextBox內格式化文字。

MdiLayout

指定 MDI 父視窗中多個文件介面 (MDI) 子視窗的配置。

MenuGlyph

使用 DrawMenuGlyph(Graphics, Rectangle, MenuGlyph) 方法繪製功能表時,指定要繪製的影像。

MenuMerge

指定當 MenuItem 與另一個功能表中的項目合併時的行為。

MergeAction

指定在結合 ToolStrip上的功能表項時,找到相符專案時要採取的動作種類。

MessageBoxButtons

指定要在 MessageBox上顯示哪些按鈕的常數。

MessageBoxDefaultButton

指定定義 MessageBox上預設按鈕的常數。

MessageBoxIcon

指定要顯示之資訊的常數。

MessageBoxOptions

指定 MessageBox上的選項。

MonthCalendar.HitArea

定義常數,代表 MonthCalendar 控件中的區域。

MouseButtons

指定常數,定義按下滑鼠按鈕的常數。

Orientation

指定控制項或控件專案的方向。

PictureBoxSizeMode

指定影像在 PictureBox中的位置。

PowerLineStatus

指定系統電源狀態。

PowerState

定義標識碼,指出暫停的系統電源活動模式。

PreProcessControlState

提供選項,指定控件與前置處理訊息之間的關聯性。

ProgressBarStyle

指定 ProgressBar 用來指出作業進度的樣式。

PropertySort

指定屬性在 PropertyGrid中排序的方式。

RichTextBoxFinds

指定文字搜尋如何在 RichTextBox 控件中執行。

RichTextBoxLanguageOptions

提供輸入法編輯器 (IME) 和亞洲語言支援的 RichTextBox 設定。

RichTextBoxScrollBars

指定要在 RichTextBox 控件中顯示的滾動條類型。

RichTextBoxSelectionAttribute

指定目前選取範圍中的任何字元是否具有樣式或屬性。

RichTextBoxSelectionTypes

指定 RichTextBox 控制項中的選取類型。

RichTextBoxStreamType

指定用來在 RichTextBox 控件中載入和儲存資料的輸入和輸出資料流類型。

RichTextBoxWordPunctuations

指定可以搭配 RichTextBox 控件的自動換行和斷詞功能使用的標點符號數據表類型。

RightToLeft

指定值,指出文字是否從右至左顯示,例如使用希伯來文或阿拉伯字型時。

ScreenCaptureMode

包含用於建立基於Windows的應用程式類別,充分利用Microsoft Windows作業系統豐富的使用者介面功能。

ScreenOrientation

指定螢幕的角度。

ScrollBars

指定控件上會顯示哪些滾動條。

ScrollButton

指定要在滾動條上繪製的滾動箭頭類型。

ScrollEventType

指定用來引發 Scroll 事件的動作類型。

ScrollOrientation

指定 Scroll 事件的滾動條方向。

SearchDirectionHint

提供搜尋 ListViewItem的位置方向提示。

SecurityIDType

不會使用這個列舉。

SelectionMode

指定清單框的選取行為。

Shortcut

指定功能表項可以使用的快速鍵。

SizeGripStyle

指定 Form上重設大小底框的樣式。

SizeType

指定使用者介面 (UI) 元素的數據列或資料行相對於其容器的大小。

SortOrder

指定清單中的專案排序方式。

StatusBarPanelAutoSize

指定當控件重設大小時,StatusBarPanel 控件上的 StatusBar 如何運作。

StatusBarPanelBorderStyle

指定 StatusBarPanel 控件上 StatusBar 框線的外觀。

StatusBarPanelStyle

指定 StatusBarPanel 控件上的 StatusBar 對像是擁有者繪製還是系統繪製。

StructFormat

不會使用這個列舉。

SystemColorMode

包含用於建立基於Windows的應用程式類別,充分利用Microsoft Windows作業系統豐富的使用者介面功能。

SystemParameter

指定系統參數類型。

TabAlignment

指定索引標籤控件中索引標籤的位置。

TabAppearance

指定索引標籤控件中索引標籤的外觀。

TabControlAction

定義代表 TabControl 事件的值。

TabDrawMode

指定選項卡控制件中的索引標籤是由擁有者繪製(由父視窗繪製),還是由作業系統繪製。

TableLayoutPanelCellBorderStyle

指定表格版面配置控制件中儲存格的框線樣式。

TableLayoutPanelGrowStyle

指定 TableLayoutPanel 在其現有儲存格滿後,如何取得額外的數據列或數據行。

TabSizeMode

指定索引標籤控件中的索引標籤大小。

TaskDialogExpanderPosition

指定要顯示工作對話框展開區域的位置。

TaskDialogProgressBarState

包含常數,指定工作對話進度列的狀態。

TaskDialogStartupLocation

指定工作對話框第一次開啟時會顯示在中的位置。

TextDataFormat

指定與 ClipboardDataObject 類別之文字相關方法搭配使用的格式。

TextFormatFlags

指定文字字串的顯示和配置資訊。

TextImageRelation

指定控件上相對於彼此的文字和影像位置。

TickStyle

指定 TrackBar 控件中刻度標記的位置。

ToolBarAppearance

指定要顯示的工具列類型。

ToolBarButtonStyle

指定工具列內的按鈕樣式。

ToolBarTextAlign

指定工具列按鈕控制件上的文字對齊方式。

ToolStripDropDownCloseReason

指定關閉 ToolStripDropDown 控制件的原因。

ToolStripDropDownDirection

指定相對於其父控件顯示 ToolStripDropDown 控件的方向。

ToolStripGripDisplayStyle

指定 ToolStrip 移動控點(夾克)的方向。

ToolStripGripStyle

指定 ToolStrip 移動控點(夾克)的可見度。

ToolStripItemAlignment

決定 ToolStripItemToolStrip 的對齊方式。

ToolStripItemDisplayStyle

指定要轉譯此 ToolStripItem的內容(影像或文字)。

ToolStripItemImageScaling

指定是否會自動調整 ToolStripItem 上的影像大小,以符合 ToolStrip,同時保留原始影像比例。

ToolStripItemOverflow

判斷 ToolStripItem 是否放在溢位 ToolStrip中。

ToolStripItemPlacement

指定要配置 ToolStripItem 的位置。

ToolStripLayoutStyle

指定可以顯示 ToolStrip 專案的可能對齊方式。

ToolStripManagerRenderMode

指定套用至表單中包含的多個 ToolStrip 物件的繪製樣式。

ToolStripRenderMode

指定套用至表單中一個 ToolStrip 的繪製樣式。

ToolStripStatusLabelBorderSides

指定 ToolStripStatusLabel 的兩側有框線。

ToolStripTextDirection

指定要與特定 LayoutStyle搭配使用的文字方向。

ToolTipIcon

定義一組可與工具提示相關聯的標準化圖示。

TreeNodeStates

定義常數,表示 TreeNode的可能狀態。

TreeViewAction

指定引發 TreeViewEventArgs 事件的動作。

TreeViewDrawMode

定義常數,代表繪製 TreeView 的方式。

TreeViewHitTestLocations

定義常數,表示 TreeViewTreeNode的區域。

UICues

指定使用者介面的狀態。

UnhandledExceptionMode

定義 Windows Forms 應用程式應該傳送未處理異常的地方。

ValidationConstraints

定義常數,告知 ValidateChildren(ValidationConstraints) 該如何驗證容器的子控件。

View

指定清單專案在 ListView 控件中的顯示方式。

WebBrowserEncryptionLevel

指定常數,定義 WebBrowser 控件中所顯示檔所使用的加密方法。

WebBrowserReadyState

指定常數,定義 WebBrowser 控件的狀態。

WebBrowserRefreshOption

指定常數,定義 WebBrowser 控件如何重新整理其內容。

委派

名稱 Description
Application.MessageLoopCallback

代表一種檢查主機環境是否仍在發送訊息的方法。

AxHost.AboutBoxDelegate

代表會顯示 ActiveX 控制項的「關於」對話框的方法。

BindingCompleteEventHandler

代表在資料綁定情境下處理 BindingComplete 事件的方法。

BindingManagerDataErrorEventHandler

代表將處理DataErrorBindingManagerBase事件的方法。

CacheVirtualItemsEventHandler

代表將處理CacheVirtualItemsListView事件的方法。

ColumnClickEventHandler

代表將處理ColumnClickListView事件的方法。

ColumnReorderedEventHandler

代表將處理 ColumnReordered 控制事件 ListView 的方法。

ColumnWidthChangedEventHandler

代表將處理ColumnWidthChangedListView事件的方法。

ColumnWidthChangingEventHandler

代表將處理ColumnWidthChangingListView事件的方法。

ContentsResizedEventHandler

代表將處理ContentsResizedRichTextBox事件的方法。

ControlEventHandler

代表將處理 ControlAdded 類別 和 ControlRemoved 事件 Control 的方法。

ConvertEventHandler

代表將處理 ParseFormat 事件 Binding的方法。

DataGridViewAutoSizeColumnModeEventHandler

代表將處理 AutoSizeColumnModeChanged 控制事件 DataGridView 的方法。

DataGridViewAutoSizeColumnsModeEventHandler

代表將處理 AutoSizeColumnsModeChanged 控制事件 DataGridView 的方法。

DataGridViewAutoSizeModeEventHandler

代表將處理 AutoSizeRowsModeChangedRowHeadersWidthSizeModeChanged 或 事件 DataGridView的方法。

DataGridViewBindingCompleteEventHandler

代表將處理DataBindingCompleteDataGridView事件的方法。

DataGridViewCellCancelEventHandler

代表將處理 CellBeginEditRowValidating 事件 DataGridView的方法。

DataGridViewCellContextMenuStripNeededEventHandler

代表處理CellContextMenuStripNeededDataGridView事件的方法。

DataGridViewCellErrorTextNeededEventHandler

代表將處理CellErrorTextNeededDataGridView事件的方法。

DataGridViewCellEventHandler

代表處理 DataGridView 與格子與列操作相關事件的方法。

DataGridViewCellFormattingEventHandler

代表將處理CellFormattingDataGridView事件的方法。

DataGridViewCellMouseEventHandler

代表將處理由 DataGridView所引發的滑鼠相關事件的方法。

DataGridViewCellPaintingEventHandler

代表將處理CellPaintingDataGridView事件的方法。

DataGridViewCellParsingEventHandler

代表處理CellParsingDataGridView事件的方法。

DataGridViewCellStateChangedEventHandler

代表將處理CellStateChangedDataGridView事件的方法。

DataGridViewCellStyleContentChangedEventHandler

代表將處理CellStyleContentChangedDataGridView事件的方法。

DataGridViewCellToolTipTextNeededEventHandler

代表將處理CellToolTipTextNeededDataGridView事件的方法。

DataGridViewCellValidatingEventHandler

代表將處理 CellValidating 控制事件 DataGridView 的方法。

DataGridViewCellValueEventHandler

表示將處理 CellValueNeeded 事件或 CellValuePushed 事件的方法 DataGridView

DataGridViewColumnDividerDoubleClickEventHandler

代表將處理ColumnDividerDoubleClickDataGridView事件的方法。

DataGridViewColumnEventHandler

代表將處理欄位相關事件 DataGridView的方法。

DataGridViewColumnStateChangedEventHandler

代表將處理ColumnStateChangedDataGridView事件的方法。

DataGridViewDataErrorEventHandler

代表將處理DataErrorDataGridView事件的方法。

DataGridViewEditingControlShowingEventHandler

代表將處理EditingControlShowingDataGridView事件的方法。

DataGridViewRowCancelEventHandler

代表將處理UserDeletingRowDataGridView事件的方法。

DataGridViewRowContextMenuStripNeededEventHandler

代表將處理RowContextMenuStripNeededDataGridView事件的方法。

DataGridViewRowDividerDoubleClickEventHandler

代表將處理RowDividerDoubleClickDataGridView事件的方法。

DataGridViewRowErrorTextNeededEventHandler

代表將處理RowErrorTextNeededDataGridView事件的方法。

DataGridViewRowEventHandler

代表處理 中與列相關事件 DataGridView的方法。

DataGridViewRowHeightInfoNeededEventHandler

代表將處理 RowHeightInfoNeeded 控制事件 DataGridView 的方法。

DataGridViewRowHeightInfoPushedEventHandler

代表將處理RowHeightInfoPushedDataGridView事件的方法。

DataGridViewRowPostPaintEventHandler

代表將處理RowPostPaintDataGridView事件的方法。

DataGridViewRowPrePaintEventHandler

代表將處理RowPrePaintDataGridView事件的方法。

DataGridViewRowsAddedEventHandler

代表將處理RowsAddedDataGridView事件的方法。

DataGridViewRowsRemovedEventHandler

代表將處理RowsRemovedDataGridView事件的方法。

DataGridViewRowStateChangedEventHandler

代表將處理RowStateChangedDataGridView事件的方法。

DataGridViewSortCompareEventHandler

代表將處理 SortCompare 控制事件 DataGridView 的方法。

DateBoldEventHandler

代表將處理控制內部 MonthCalendar 事件的方法。

DateRangeEventHandler

代表將處理 DateChangedDateSelectedMonthCalendar事件 的方法。

DpiChangedEventHandler

代表處理表單或控制項 DpiChanged 事件的方法。

DragEventHandler

代表處理 DragDropDragEnterDragOverControl事件 的方法。

DrawItemEventHandler

代表處理DrawItemComboBox事件 、 ListBoxMenuItemTabControl 控制的方法。

DrawListViewColumnHeaderEventHandler

代表將處理DrawColumnHeaderListView事件的方法。

DrawListViewItemEventHandler

代表將處理DrawItemListView事件的方法。

DrawListViewSubItemEventHandler

代表將處理DrawSubItemListView事件的方法。

DrawToolTipEventHandler

代表將處理DrawToolTip事件的方法。

DrawTreeNodeEventHandler

代表將處理DrawNodeTreeView事件的方法。

FormClosedEventHandler

代表處理 FormClosed 事件的方法。

FormClosingEventHandler

代表處理 FormClosing 事件的方法。

GiveFeedbackEventHandler

代表處理 GiveFeedback 事件 Control的方法。

HelpEventHandler

代表將處理HelpRequestedControl事件的方法。

HtmlElementErrorEventHandler

代表將處理ErrorHtmlWindow事件的方法。

HtmlElementEventHandler

代表處理 Click、 及相關事件 的方法MouseDownHtmlDocumentHtmlElementHtmlWindow

InputLanguageChangedEventHandler

代表將處理InputLanguageChangedForm事件的方法。

InputLanguageChangingEventHandler

代表將處理InputLanguageChangingForm事件的方法。

InvalidateEventHandler

代表將處理InvalidatedControl事件的方法。

ItemChangedEventHandler

代表將處理 ItemChanged 類別事件 CurrencyManager 的方法。

ItemCheckedEventHandler

代表將處理 ItemChecked 控制事件 ListView 的方法。

ItemCheckEventHandler

代表處理 ItemCheck 事件 CheckedListBoxListView 控制的方法。

ItemDragEventHandler

代表處理 ItemDrag 事件 ListViewTreeView 控制的方法。

KeyEventHandler

代表將處理 KeyUpKeyDownControl事件 的方法。

KeyPressEventHandler

代表將處理KeyPressControl事件的方法。

LabelEditEventHandler

代表處理 BeforeLabelEditAfterLabelEdit 事件的方法。

LayoutEventHandler

代表將處理LayoutControl事件的方法。

LinkClickedEventHandler

代表將處理LinkClickedRichTextBox事件的方法。

LinkLabelLinkClickedEventHandler

代表將處理LinkClickedLinkLabel事件的方法。

ListControlConvertEventHandler

代表將 轉換 的方法 ListControl

ListViewItemMouseHoverEventHandler

代表將處理ItemMouseHoverListView事件的方法。

ListViewItemSelectionChangedEventHandler

代表將處理ItemSelectionChangedListView事件的方法。

ListViewVirtualItemsSelectionRangeChangedEventHandler

代表將處理VirtualItemsSelectionRangeChangedListView事件的方法。

MaskInputRejectedEventHandler

代表將處理 MaskInputRejected 控制事件 MaskedTextBox 的方法。

MeasureItemEventHandler

代表處理 MeasureItemListBoxComboBoxCheckedListBox 控制事件MenuItem的方法。

MethodInvoker

代表一個代理,能執行任何在受管程式碼中宣告為 void 且不接受參數的方法。

MouseEventHandler

代表將處理MouseDown表單、MouseUpMouseMove控制項或其他元件事件的方法。

NavigateEventHandler

代表將處理NavigateEventArgsDataGrid事件的方法。

NodeLabelEditEventHandler

代表將處理BeforeLabelEdit控制事件AfterLabelEdit的方法TreeView

PaintEventHandler

代表將處理PaintControl事件的方法。

PopupEventHandler

代表處理 Popup 類別事件 ToolTip 的方法。

PreviewKeyDownEventHandler

代表將 PreviewKeyDown 處理控制事件的方法。

PropertyTabChangedEventHandler

代表將處理PropertyTabChangedPropertyGrid事件的方法。

PropertyValueChangedEventHandler

當使用者修改網格中的屬性時,會呼叫的事件處理類別。

QueryAccessibilityHelpEventHandler

代表將處理 QueryAccessibilityHelp 控制事件的方法。

QueryContinueDragEventHandler

代表將處理QueryContinueDragControl事件的方法。

QuestionEventHandler

代表處理事件 CancelRowEditRowDirtyStateNeeded 事件 DataGridView的方法。

RetrieveVirtualItemEventHandler

代表將處理RetrieveVirtualItemListView事件的方法。

ScrollEventHandler

代表Scroll處理事件DataGridViewScrollBar或事件的方法。

SearchForVirtualItemEventHandler

代表將處理SearchForVirtualItemListView事件的方法。

SelectedGridItemChangedEventHandler

代表將處理SelectedGridItemChangedPropertyGrid事件的方法。

SplitterCancelEventHandler

代表將處理SplitterMovingSplitter事件的方法。

SplitterEventHandler

代表將處理 SplitterMovingSplitterMoved 事件 Splitter的方法。

StatusBarDrawItemEventHandler

代表將處理DrawItemStatusBar事件的方法。

StatusBarPanelClickEventHandler

代表將處理PanelClickStatusBar事件的方法。

TabControlCancelEventHandler

代表將處理Selecting控制點事件DeselectingTabControl的方法。

TabControlEventHandler

代表將處理Selected控制點事件DeselectedTabControl的方法。

TableLayoutCellPaintEventHandler

代表處理 CellPaint 事件的方法。

ToolBarButtonClickEventHandler

代表將處理ButtonClickToolBar事件的方法。

ToolStripArrowRenderEventHandler

代表將處理RenderArrowToolStripRenderer事件的方法。 此類別無法獲得繼承。

ToolStripContentPanelRenderEventHandler

代表將處理RendererChangedToolStripContentPanel事件的方法。

ToolStripDropDownClosedEventHandler

代表將處理ClosedToolStripDropDown事件的方法。

ToolStripDropDownClosingEventHandler

代表處理 Closing 事件 ToolStripDropDown的方法。

ToolStripGripRenderEventHandler

代表將處理RenderGripToolStripRenderer事件的方法。

ToolStripItemClickedEventHandler

代表將處理ItemClickedToolStripItem事件的方法。

ToolStripItemEventHandler

代表處理事件的方法 ToolStripItem

ToolStripItemImageRenderEventHandler

表示將處理 RenderItemImage 事件或 RenderItemCheck 事件的方法 ToolStripRenderer

ToolStripItemRenderEventHandler

代表處理渲染該類別衍生ToolStripItemToolStripRenderer物件背景事件的方法。

ToolStripItemTextRenderEventHandler

代表將處理RenderItemTextToolStripRenderer事件的方法。

ToolStripPanelRenderEventHandler

代表處理 ToolStripPanel 繪畫事件的方法。

ToolStripRenderEventHandler

代表處理事件 RenderToolStripBorderRenderToolStripBackground 事件 ToolStripRenderer的方法。

ToolStripSeparatorRenderEventHandler

代表處理 RenderSeparator 類別事件 ToolStripRenderer 的方法。

TreeNodeMouseClickEventHandler

代表將處理 NodeMouseClickNodeMouseDoubleClick 事件 TreeView的方法。

TreeNodeMouseHoverEventHandler

代表將處理NodeMouseHoverTreeView事件的方法。

TreeViewCancelEventHandler

代表將處理 BeforeCheckBeforeCollapseBeforeExpandBeforeSelect 事件 TreeView的方法。

TreeViewEventHandler

代表將處理 AfterCheckAfterCollapseAfterExpandAfterSelect 事件 TreeView的方法。

TypeValidationEventHandler

代表將處理 TypeValidationCompleted 控制事件 MaskedTextBox 的方法。

UICuesEventHandler

代表一種能處理 ChangeUICues 事件的方法 Control

UpDownEventHandler

代表將處理內部類別事件的方法。

WebBrowserDocumentCompletedEventHandler

代表將處理 DocumentCompleted 控制事件 WebBrowser 的方法。

WebBrowserNavigatedEventHandler

代表將處理 Navigated 控制事件 WebBrowser 的方法。

WebBrowserNavigatingEventHandler

代表將處理 Navigating 控制事件 WebBrowser 的方法。

WebBrowserProgressChangedEventHandler

代表將處理 ProgressChanged 控制事件 WebBrowser 的方法。

備註

下表顯示 System.Windows.Forms 命名空間中的類別分類。

車級分類 Details
- 控制、使用者控制與形式 大多數 System.Windows.Forms 命名空間中的類別源自 Control 類別。 該 Control 類別提供所有顯示在 Form. 該 Form 類別代表應用程式中的一個視窗。 這包括對話框、無模式視窗,以及多重文件介面(MDI)用戶端與父視窗。 你也可以從類別衍生 UserControl 出來,建立自己的控制項。
- 選單與工具列 Windows Forms 包含豐富的類別,讓你能建立屬於自己的自訂工具列與選單,並具備現代外觀與行為(外觀與感覺)。 ToolStripMenuStripContextMenuStripStatusStrip以及分別可用於建立工具列、選單列、右鍵選單和狀態列。
- 控制系統 System.Windows.Forms 命名空間提供了多種控制類別,可用來建立豐富的使用者介面。 有些控制項是為應用程式內的資料輸入而設計,例如 TextBoxComboBox 控制項。 其他控制項顯示應用資料,例如 LabelListView。 命名空間也提供應用程式內呼叫指令的控制,例如 ButtonWebBrowser 控制項與受管理的 HTML 類別,例如 HtmlDocument,讓你能在受管理的 Windows Forms 應用程式中顯示和操作 HTML 頁面。 這個 MaskedTextBox 控制項是進階的資料輸入控制,讓你能定義自動接受或拒絕使用者輸入的遮罩。 此外,你也可以使用 PropertyGrid 控制項建立自己的 Windows Forms 設計器,顯示設計者可見的控制項屬性。
- 版面配置 Windows Forms 中有幾個重要的類別,有助於控制顯示表面(如表單或控制項)上的控制項配置。 FlowLayoutPanel 它以序列方式排列所有控制項,並 TableLayoutPanel 允許你定義格子和列,用來在固定格子中佈局控制項。 SplitContainer 將你的顯示面板分割成兩個或更多可調整的部分。
- 資料與資料綁定 Windows Forms 定義了一套豐富的架構,用於綁定資料庫和 XML 檔案等資料來源。 這個 DataGridView 控制項提供可自訂的資料表,並允許你自訂儲存格、列、欄和邊界。 控制 BindingNavigator 項代表一種標準化的方式,用來在表單上瀏覽和處理資料; BindingNavigator 通常與表單上資料記錄的移動與互動的控制項搭配 BindingSource 使用。
- 組件 除了控制項外,System.Windows.Forms 命名空間還提供其他類別,這些類別不源自 Control 類別,但仍能為基於Windows的應用程式提供視覺化功能。 有些類別,如 ToolTipErrorProvider,會擴展功能或向使用者提供資訊。 透過 HelpHelpProvider 類別,你可以向應用程式使用者顯示說明資訊。
- 常見對話框 Windows 提供多個常見的對話框,讓你在執行開啟與儲存檔案、調整字型或文字顏色、列印等任務時,給應用程式一個一致的使用者介面。 OpenFileDialogSaveFileDialog類別提供顯示對話框的功能,讓使用者找到並輸入檔案名稱以開啟或儲存。 這個 FontDialog 類別會顯示一個對話框,用來更改應用程式所使用的元素 Font 。 這些PageSetupDialogPrintPreviewDialogPrintDialog 類別會顯示對話框,讓使用者能控制列印文件的各個面向。 如需更多關於從Windows應用程式列印的資訊,請參閱 System.Drawing.Printing 命名空間。 除了常見的對話框外,System.Windows.Forms命名空間還提供 MessageBox 類別,用於顯示可顯示及檢索使用者資料的訊息框。

System.Windows.Forms 命名空間中,有數個類別支援前述摘要中提到的類別。 支援類別的例子包括列舉、事件參數類別,以及事件在控制項和元件中使用的代理。

注意事項

Windows Forms 命名空間中的類別不支援用於 Windows 服務。 嘗試在服務內使用這些類別可能會產生意想不到的問題,例如服務效能下降及執行時例外。