DataGrid
HitTestInfo
HitTestType
DataGrid()
AllowNavigation
AllowSorting
AlternatingBackColor
BackColor
BackgroundColor
BackgroundImage
BackgroundImageLayout
BorderStyle
CaptionBackColor
CaptionFont
CaptionForeColor
CaptionText
CaptionVisible
ColumnHeadersVisible
CurrentCell
CurrentRowIndex
Cursor
DataMember
DataSource
DefaultSize
FirstVisibleColumn
FlatMode
ForeColor
GridLineColor
GridLineStyle
HeaderBackColor
HeaderFont
HeaderForeColor
HorizScrollBar
LinkColor
LinkHoverColor
ListManager
ParentRowsBackColor
ParentRowsForeColor
ParentRowsLabelStyle
ParentRowsVisible
PreferredColumnWidth
PreferredRowHeight
ReadOnly
RowHeadersVisible
RowHeaderWidth
SelectionBackColor
SelectionForeColor
Site
TableStyles
Text
this[DataGridCell]
this[Int32, Int32]
VertScrollBar
VisibleColumnCount
VisibleRowCount
BeginEdit(DataGridColumnStyle, Int32)
BeginInit()
CancelEditing()
Collapse(Int32)
ColumnStartedEditing(Control)
ColumnStartedEditing(Rectangle)
CreateAccessibilityInstance()
CreateGridColumn(PropertyDescriptor)
CreateGridColumn(PropertyDescriptor, Boolean)
Dispose(Boolean)
EndEdit(DataGridColumnStyle, Int32, Boolean)
EndInit()
Expand(Int32)
GetCellBounds(DataGridCell)
GetCellBounds(Int32, Int32)
GetCurrentCellBounds()
GetOutputTextDelimiter()
GridHScrolled(Object, ScrollEventArgs)
GridVScrolled(Object, ScrollEventArgs)
HitTest(Point)
HitTest(Int32, Int32)
IsExpanded(Int32)
IsSelected(Int32)
NavigateBack()
NavigateTo(Int32, String)
OnAllowNavigationChanged(EventArgs)
OnBackButtonClicked(Object, EventArgs)
OnBackColorChanged(EventArgs)
OnBackgroundColorChanged(EventArgs)
OnBindingContextChanged(EventArgs)
OnBorderStyleChanged(EventArgs)
OnCaptionVisibleChanged(EventArgs)
OnCurrentCellChanged(EventArgs)
OnDataSourceChanged(EventArgs)
OnEnter(EventArgs)
OnFlatModeChanged(EventArgs)
OnFontChanged(EventArgs)
OnForeColorChanged(EventArgs)
OnHandleCreated(EventArgs)
OnHandleDestroyed(EventArgs)
OnKeyDown(KeyEventArgs)
OnKeyPress(KeyPressEventArgs)
OnLayout(LayoutEventArgs)
OnLeave(EventArgs)
OnMouseDown(MouseEventArgs)
OnMouseLeave(EventArgs)
OnMouseMove(MouseEventArgs)
OnMouseUp(MouseEventArgs)
OnMouseWheel(MouseEventArgs)
OnNavigate(NavigateEventArgs)
OnPaint(PaintEventArgs)
OnPaintBackground(PaintEventArgs)
OnParentRowsLabelStyleChanged(EventArgs)
OnParentRowsVisibleChanged(EventArgs)
OnReadOnlyChanged(EventArgs)
OnResize(EventArgs)
OnRowHeaderClick(EventArgs)
OnScroll(EventArgs)
OnShowParentDetailsButtonClicked(Object, EventArgs)
ProcessDialogKey(Keys)
ProcessGridKey(KeyEventArgs)
ProcessKeyPreview(Message)
ProcessTabKey(Keys)
ResetAlternatingBackColor()
ResetBackColor()
ResetForeColor()
ResetGridLineColor()
ResetHeaderBackColor()
ResetHeaderFont()
ResetHeaderForeColor()
ResetLinkColor()
ResetLinkHoverColor()
ResetSelection()
ResetSelectionBackColor()
ResetSelectionForeColor()
Select(Int32)
SetDataBinding(Object, String)
ShouldSerializeAlternatingBackColor()
ShouldSerializeBackgroundColor()
ShouldSerializeCaptionBackColor()
ShouldSerializeCaptionForeColor()
ShouldSerializeGridLineColor()
ShouldSerializeHeaderBackColor()
ShouldSerializeHeaderFont()
ShouldSerializeHeaderForeColor()
ShouldSerializeLinkHoverColor()
ShouldSerializeParentRowsBackColor()
ShouldSerializeParentRowsForeColor()
ShouldSerializePreferredRowHeight()
ShouldSerializeSelectionBackColor()
ShouldSerializeSelectionForeColor()
SubObjectsSiteChange(Boolean)
UnSelect(Int32)
AllowNavigationChanged
BackButtonClick
BackgroundColorChanged
BackgroundImageChanged
BackgroundImageLayoutChanged
BorderStyleChanged
CaptionVisibleChanged
CurrentCellChanged
CursorChanged
DataSourceChanged
FlatModeChanged
Navigate
ParentRowsLabelStyleChanged
ParentRowsVisibleChanged
ReadOnlyChanged
RowHeaderClick
Scroll
ShowParentDetailsButtonClick
TextChanged
net10.0-windows10.0.22621
namespace System.Windows.Forms
{
[Browsable(false)]
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[ComplexBindingProperties("DataSource", "DataMember")]
[ComVisible(true)]
[DefaultEvent("Navigate")]
[DefaultMember("Item")]
[DefaultProperty("DataSource")]
[Designer("System.Windows.Forms.Design.DataGridDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("`DataGrid` is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use `DataGridView` instead.", false, DiagnosticId = "WFDEV006", UrlFormat = "https://aka.ms/winforms-warnings/{0}")]
public class DataGrid : Control, ISupportInitialize, IDataGridEditingService
{
protected virtual void OnBackgroundColorChanged(EventArgs e);
}
}
| .NET | 10.0 |
|---|---|
| .NET Core | 3.0 |
| .NET Framework | 2.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621 |
Information specific to net10.0-windows10.0.22621 | |
| Assembly | System.Windows.Forms , Version=10.0.0.0, PublicKeyToken=b77a5c561934e089 |
| Referencing | Your project needs to set |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API