This class is the successor to the old unmanaged FlexGrid control, and has considerably more power, fully supporting complex data-binding scenarios.
A grid offers a two dimensional view of the rows and columns on a data source. The data source itself may consist of several related tables, each with different rows and columns, so the grid offers support for drilling down through these relations, updating the display to reflect the current view on the data.
There are a variety of basic areas in the grid whose appearance you
can change. You can show and hide a caption (title) area with the
CaptionVisible property. You can set the
CaptionBackColor, as well as the
If a particular row in the data source has been defined to have
relations to another table, the grid displays a hyperlink for you to
click on to follow that relation. You can set its
This drill-down behavior is enabled and disabled with the
AllowNavigation property. When you have drilled
down into a table, a line is added to display the parent rows through
which you have navigated. You can set the
ParentRowsForeColor, and visibility
ParentRowsVisible). In addition, you can set the
ParentRowsLabelStyle to display either the parent
TableName, or both.
You can also
NavigateTo() a particular row and
NavigateBack() to the parent of the
Then, there are the column headers (which ...