.Net Framework > v1.1.4322 > System > Windows > Forms > DataGrid DataGrid
Category
Class
Description
Displays ADO.NET data in a scrollable grid.
Assembly
System.Windows.Forms
Character
public
Attributes
NameValue/Assignment
DesignerAttributeSystem.Windows.Forms.Design.DataGridDesigner, System.Design, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
DefaultPropertyAttributeDataSource
DefaultEventAttributeNavigate
DefaultMemberAttributeItem
Ancestors
Control > Component > MarshalByRefObject > Object
Implements
ISupportInitialize, IDataGridEditingService
Contstructors
DataGrid()
Properties
AllowNavigation
AllowSorting
AlternatingBackColor
BackColor
BackgroundColor
BackgroundImage
BorderStyle
CaptionBackColor
CaptionFont
CaptionForeColor
CaptionText
CaptionVisible
ColumnHeadersVisible
CurrentCell
CurrentRowIndex
Cursor
DataMember
DataSource
DefaultSize
FirstVisibleColumn
FlatMode
ForeColor
GridLineColor
GridLineStyle
HeaderBackColor
HeaderFont
HeaderForeColor
HorizScrollBar
Item(Int32,Int32)
Item(DataGridCell)
LinkColor
LinkHoverColor
ListManager
ParentRowsBackColor
ParentRowsForeColor
ParentRowsLabelStyle
ParentRowsVisible
PreferredColumnWidth
PreferredRowHeight
ReadOnly
RowHeadersVisible
RowHeaderWidth
SelectionBackColor
SelectionForeColor
Site
TableStyles
Text
VertScrollBar
VisibleColumnCount
VisibleRowCount
Events
AllowNavigationChanged
BackButtonClick
BackgroundColorChanged
BackgroundImageChanged
BorderStyleChanged
CaptionVisibleChanged
CurrentCellChanged
CursorChanged
DataSourceChanged
FlatModeChanged
Navigate
ParentRowsLabelStyleChanged
ParentRowsVisibleChanged
ReadOnlyChanged
RowHeaderClick
Scroll
ShowParentDetailsButtonClick
TextChanged
Methods
BeginEdit(DataGridColumnStyle,Int32)
BeginInit()
CancelEditing()
Collapse(Int32)
ColumnStartedEditing(Rectangle)
ColumnStartedEditing(Control)
CreateAccessibilityInstance()
CreateGridColumn(PropertyDescriptor)
CreateGridColumn(PropertyDescriptor,Boolean)
Dispose(Boolean)
EndEdit(DataGridColumnStyle,Int32,Boolean)
EndInit()
Expand(Int32)
GetCellBounds(Int32,Int32)
GetCellBounds(DataGridCell)
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)
Types
HitTestInfo
Tags
0103E2B958, 02E3ABA98D, 0311417F6F
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples