Udostępnij za pośrednictwem


Programming with Cells, Rows, and Columns in the Windows Forms DataGridView Control

 

This section provides topics that demonstrate various programming tasks involving cell, row, and column objects.

In This Section

How to: Add ToolTips to Individual Cells in a Windows Forms DataGridView Control
Describes how to handle the CellFormatting event to provide different ToolTips for individual cells.

How to: Perform a Custom Action Based on Changes in a Cell of a Windows Forms DataGridView Control
Describes how to handle the CellValueChanged and CellStateChanged events.

How to: Manipulate Bands in the Windows Forms DataGridView Control
Describes how to program with objects of type DataGridViewBand, which is the base type for rows and columns.

How to: Manipulate Rows in the Windows Forms DataGridView Control
Describes how to program with objects of type DataGridViewRow.

How to: Manipulate Columns in the Windows Forms DataGridView Control
Describes how to program with objects of type DataGridViewColumn.

How to: Work with Image Columns in the Windows Forms DataGridView Control
Describes how to program with the DataGridViewImageColumn class.

Reference

DataGridView
Provides reference documentation for the DataGridView control.

DataGridViewCell
Provides reference documentation for the DataGridViewCell class.

DataGridViewRow
Provides reference documentation for the DataGridViewRow class.

DataGridViewColumn
Provides reference documentation for the DataGridViewColumn class.

Basic Column, Row, and Cell Features in the Windows Forms DataGridView Control
Provides topics that describe commonly used cell, row, and column properties.

See Also

DataGridView Control
Column Types in the Windows Forms DataGridView Control