DataGridColumnStyle::DataGridTableStyle Property

 

Gets the DataGridTableStyle for the column.

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

public:
[BrowsableAttribute(false)]
property DataGridTableStyle^ DataGridTableStyle {
	virtual 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 _
    (myColumnStyle.DataGridTableStyle.MappingName)
End Sub

.NET Framework
Available since 1.1
Return to top
Show: