DataGridColumnStyle.DataGridTableStyle Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the DataGridTableStyle for the column.

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

public virtual DataGridTableStyle DataGridTableStyle { get; }

Property Value

Type: System.Windows.Forms.DataGridTableStyle

The DataGridTableStyle that contains the current DataGridColumnStyle.

The following code example prints the MappingName of a DataGridTableStyle that contains a DataGridColumnStyle.

Private Sub PrintTableMappingName _
(ByVal myColumnStyle As DataGridColumnStyle)
    Console.WriteLine _
End Sub

.NET Framework
Available since 1.1
Return to top