DataGridTableStyle Constructor
Collapse the table of content
Expand the table of content

DataGridTableStyle Constructor ()


Initializes a new instance of the DataGridTableStyle class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public DataGridTableStyle()

The following code example creates a new DataGridTableStyle and adds it to the GridTableStylesCollection.

private void AddGridTable(){
   DataGridTableStyle myGridTableStyle;
   myGridTableStyle = new DataGridTableStyle();
   myGridTableStyle.MappingName = "Customers";

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft