GridTablesFactory Class  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
DataGrid is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use DataGridView instead.
Provides the CreateGridTables(DataGridTableStyle, Object, String, BindingContext) method.
This API supports the product infrastructure and is not intended to be used directly from your code.
public ref class GridTablesFactory
	public ref class GridTablesFactory sealed
	public ref class GridTablesFactory abstract sealed
	public class GridTablesFactory
	public sealed class GridTablesFactory
	[System.ComponentModel.Browsable(false)]
[System.Obsolete("`DataGrid` is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use `DataGridView` instead.", false, DiagnosticId="WFDEV006", UrlFormat="https://aka.ms/winforms-warnings/{0}")]
public sealed class GridTablesFactory
	public static class GridTablesFactory
	type GridTablesFactory = class
	[<System.ComponentModel.Browsable(false)>]
[<System.Obsolete("`DataGrid` is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use `DataGridView` instead.", false, DiagnosticId="WFDEV006", UrlFormat="https://aka.ms/winforms-warnings/{0}")>]
type GridTablesFactory = class
	Public Class GridTablesFactory
	Public NotInheritable Class GridTablesFactory
		- Inheritance
 - 
				GridTablesFactory
 
- Attributes
 
Methods
| CreateGridTables(DataGridTableStyle, Object, String, BindingContext) | 
			 This API supports the product infrastructure and is not intended to be used directly from your code. Returns the specified DataGridTableStyle in a one-element array.  |