System.Windows.Forms.DataGridTableStyle.DataGrid Property

Gets or sets the System.Windows.Forms.DataGrid control for the drawn table.

Syntax

[System.ComponentModel.Browsable(false)]
public virtual DataGrid DataGrid { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The System.Windows.Forms.DataGrid control displays data in the form of a grid. The System.Windows.Forms.DataGridTableStyle is an object that represents the drawn grid. The System.Windows.Forms.DataGrid property returns a reference to the control that is displaying the grid.

The DataGridTableStyle.DataGrid property is set when a System.Windows.Forms.DataGridTableStyle is added to a System.Windows.Forms.DataGrid control's System.Windows.Forms.GridTableStylesCollection. You should not try to set this property unless you are overriding it and creating a designer for a user control that incorporates the System.Windows.Forms.DataGrid control.

Requirements

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