System.Windows.Forms.DataGridParentRowsLabelStyle Enumeration

Specifies how the parent row labels of a System.Windows.Forms.DataGrid control are displayed.

Syntax

public enum DataGridParentRowsLabelStyle

Remarks

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.

Members

Member NameDescription
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.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0