Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

GridTablesFactory Class

Definition

Namespace:
System.Windows.Forms
Assembly:
System.Windows.Forms.dll
Source:
GridTablesFactory.cs
Source:
GridTablesFactory.cs

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

Name Description
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.

Applies to


Feedback

Was this page helpful?