Specifies how the parent row labels of a System.Windows.Forms.DataGrid control are displayed.
Use the members of this enumeration to set the value of the DataGrid.ParentRowsLabelStyle property.
Parent rows can be displayed only if the System.Windows.Forms.DataGrid contains at least one System.Data.DataRelation to a second System.Data.DataTable, and if the DataGrid.AllowNavigation property is set to a value that allows navigation.
Member Name | Description |
---|---|
Both |
Displays both the parent table and column names. |
ColumnName |
Displays the parent column name. |
None |
Display no parent row labels. |
TableName |
Displays the parent table name. |