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 GridTablesFactorypublic ref class GridTablesFactory sealedpublic ref class GridTablesFactory abstract sealedpublic class GridTablesFactorypublic 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 GridTablesFactorypublic static class GridTablesFactorytype 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 = classPublic Class GridTablesFactoryPublic 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. |